kjb
02-12-2004, 06:50 PM
Doesn't compile on my gentoo box with QT 3.3
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/qt/3/include -I/usr/X11R6/include -DPKG
DATADIR=\"/usr/local/share/showeq/\" -I/usr/include/pcap -D_REENTRANT -O2 -W
all -g -ggdb -DDEBUG -finline-functions -DQT_THREAD_SUPPORT=1 -DDISPLAY_ICONS=
false -DICON_DIR=\"/eq-icons/\" -c -o xmlconv.o `test -f xmlconv.cpp || echo './
'`xmlconv.cpp
xmlconv.cpp: In member function `bool DomConvenience::elementToVariant(const
QDomElement&, QVariant&)':
xmlconv.cpp:255: error: call of overloaded `QCursor(uint)' is ambiguous
/usr/qt/3/include/qcursor.h:93: error: candidates are: QCursor::QCursor(long
unsigned int)
/usr/qt/3/include/qcursor.h:77: error: QCursor::QCursor(const
QCursor&)
/usr/qt/3/include/qcursor.h:72: error: QCursor::QCursor(int)
make[3]: *** [xmlconv.o] Error 1
make[3]: Leaving directory `/usr/local/src/showeq/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/usr/local/src/showeq/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/showeq'
make: *** [all] Error 2
Tried the AUTOCONF changes but no dice.
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/qt/3/include -I/usr/X11R6/include -DPKG
DATADIR=\"/usr/local/share/showeq/\" -I/usr/include/pcap -D_REENTRANT -O2 -W
all -g -ggdb -DDEBUG -finline-functions -DQT_THREAD_SUPPORT=1 -DDISPLAY_ICONS=
false -DICON_DIR=\"/eq-icons/\" -c -o xmlconv.o `test -f xmlconv.cpp || echo './
'`xmlconv.cpp
xmlconv.cpp: In member function `bool DomConvenience::elementToVariant(const
QDomElement&, QVariant&)':
xmlconv.cpp:255: error: call of overloaded `QCursor(uint)' is ambiguous
/usr/qt/3/include/qcursor.h:93: error: candidates are: QCursor::QCursor(long
unsigned int)
/usr/qt/3/include/qcursor.h:77: error: QCursor::QCursor(const
QCursor&)
/usr/qt/3/include/qcursor.h:72: error: QCursor::QCursor(int)
make[3]: *** [xmlconv.o] Error 1
make[3]: Leaving directory `/usr/local/src/showeq/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/usr/local/src/showeq/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/showeq'
make: *** [all] Error 2
Tried the AUTOCONF changes but no dice.