PDA

View Full Version : Error compiling with QT 3.0.1



Pasla
05-27-2002, 01:45 PM
Yes, I know that ShowEQ is not garanteed to work with 3.0.1, but worked ;-)
Since 2 patches, here is the error message I got :

g++-3.0.1 -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/lib/qt-3.0.1/include -I/usr/X11R6/include -DMAPDIR=\"/usr/local/share/showeq\" -DLOGDIR=\"/usr/local/share/showeq\" -I/usr/include/pcap -D_REENTRANT -O2 -Wall -g -ggdb -DDEBUG -finline-functions -DQT_THREAD_SUPPORT=1 -DDISPLAY_ICONS=false -DICON_DIR=\"/eq-icons/\" -c spawnlist.cpp
spawnlist.cpp: In member function `void SpawnListMenu::add_filter(int)':
spawnlist.cpp:1667: no matching function for call to
`QInputDialog::getText(const QString, const char[25], QString&, bool*, CSpawnList*&)'
/usr/lib/qt-3.0.1/include/qinputdialog.h:77: candidates are: static QString
QInputDialog::getText(const QString&, const QString&, QLineEdit::EchoMode = QLineEdit::Normal, const QString& = QString::null, bool* = 0, QWidget* = 0, const char* = 0)

any idea ? seems like a prototype error.

Pasla
06-01-2002, 05:53 AM
Up, still no clue.

Edit: Sorry, just got latest CVS, all work okay again. Was a bad prototype ;-)