PDA

View Full Version : Q3listbox and qdevelop



vtco
9th October 2008, 10:17
Hi,

I'm trying to bring my app from qt3 to qt4 but I want to use q3listbox. When I put a q3listbox in qdevelop I have this error:

Error in qdevelopmainwindowimpl.cpp:(.text._ZN13Ui_MainWind ow7setupUiEP11QMainWindow[Ui_MainWindow::setupUi(QMainWindow*)]+0x126): undefined reference to `Q3ListBox::Q3ListBox(QWidget*, char const*, QFlags<Qt::WindowType>)' collect2: ld devolvió el estado de salida 1 make: *** [bin/qt4prueba] Error 1

Do you know what can I do?

Thanks,

PD: I have installed all qt3,qt4 libraries and support libraries and I import them when it's necessary.

jpn
12th October 2008, 12:41
Add following line to the .pro file:

QT += qt3support