PDA

View Full Version : Undefined Reference to Q3VBox



Pragya
18th May 2007, 07:20
Hi all,
I am getting the following error :confused: :
undefined reference to `Q3VBox::Q3VBox(QWidget*, char const*, QFlags<Qt::WindowType>)'

I guess there is some Qt3 library which is not linked, can anyone give the solution to
link the Qt3 library, or is there any other solution for this?
Thanks in advance :) .

Pragya
18th May 2007, 07:38
Hey thanks all , by including qt3support in my .pro file, the error gone. :)

marcel
18th May 2007, 07:41
There is no qt3 lib in qt4. There are support functions instead, integrated in Qt4.
Make sure you included <Q3VBox>.

May I ask why are you using support functions? Why don't you use Qt4? Try using QVBoxLayout instead!

Pragya
18th May 2007, 08:28
Thanks for the information, but since i developed a Qt application in windows, i wanted to test the same in LINUX.