- status: open --> closed
In Qt3, QVector (qvector.h) was renamed to QPtrVector
(qptrvector.h) so to enable
icecc to be compiled with Qt2, we must use QVector. The
following patches should
make it transparent.
This is needed until -enable-mt is no longer
experimental and the configure script
can find and identify Qt3 properly, which it doesnt
seem to be able to currently
as -enable-mt is only allowed for linux systems, and I
can't see an option for
Qt3 to not use mt.
--- icecc/icecc.h.orig Thu Oct 16 18:02:50 2003
+++ icecc/icecc.h Tue Jun 29 07:46:15 2004
@@ -27,7 +27,12 @@
#include <qstatusbar.h>
#include <qstring.h>
+#if QT_VERSION >= 300
#include <qptrvector.h>
+#else
+#include <qvector.h>
+#define QPtrVector QVector
+#endif
#include "tools.h"
#include "itool.h"
--- icecc/qcentralwidget.h.orig Tue Mar 25 21:52:00 2003
+++ icecc/qcentralwidget.h Tue Jun 29 07:48:01 2004
@@ -20,7 +20,12 @@
#include <qwidget.h>
#include <qrect.h>
+#if QT_VERSION >= 300
#include <qptrvector.h>
+#else
+#include <qvector.h>
+#define QPtrVector QVector
+#endif
#include "tools.h"
#include "itool.h"