see version 1.27
Mailing lists / qt / 2007-02
Re: New class on qt bindings
8 messages · 4 people · –
- FFelipe Monteiro de Carvalho 3
- DDen Jean 2
- LLuis R. Hilario B. 2
- HHess, Philip J 1
Reply by email Subscribe to this list Your subscription
Read-only archive. Use j and k to move between messages.
Hi,
When trying to compile a qt4 application I get lot's of messages like this:
/usr/lib/libqt4intf.so: undefined reference to
`QGradient::coordinateMode() const'
/usr/lib/libqt4intf.so: undefined reference to
`QApplication::styleSheet() const'
I am using a new computer, so maybe it's something wrong with my setup, but I can't find what. I have installed qt4 packages and qt4-devel packages for Mandriva 2007
thanks,
Felipe,
Welcome to the northern hemisphere.
It's -16C degrees north latitude.
-Phil
Earlier message 25 lines
Philip J wroteWelcome to the northern hemisphere. It's -16C degrees north latitude.
Lol! Where are you from?
Welcome to the northern hemisphere. It's -16C degrees north latitude. -Phil…
Philip J wrote 10 lines
do a xxddiff on qt4.pas of V1.27 and V.24
or do a xxdiff on /src/gui/painting/qbrush.h of Qt 4.1.4 and Qt 4.2.2 and you will see.
coordinateMode is a method available in Qt 4.2.2 and not in Qt 4.1.4
Mandriva 2007 comes with Qt 4.1.4.
Mind you, that not only differences in version will lead to different methods available, but also with what compile options Qt was compiled with.
e.g. stylesheet is available based on the option QT_NO_STYLE_STYLESHEET.
Qt is highly scalable, you can create custom Qt libs with many methods/classes/enums removed.
regards,
Den Jean
Den Jean wroteMandriva 2007 comes with Qt 4.1.4.
Thanks, that was the problem.
I didn't want to compile my own Qt, so I managed to quickly install it adding Mandriva 2007.1 repositories (my previous were for 2007.0).
RPMs from cooker or other distros will never work due to glibc version change
Hello,
It had a lot that did not bring up to date Lazarus and now I have the same treated problem here. Now I erased my old one QT and I installed the new one (/usr/local/Trolltech/Qt-4.2.2), but I have the same problem:
"./libqt4intf.so: undefined reference to..."
And I do not know what is bad. :(
Some times I think that the Lib. X11 are perfect. :)
2007/2/6, Felipe Monteiro de Carvalho :
Show quoted text 17 lines
HEHE
Resolved. It had to update the paths:
PATH=/usr/local/Trolltech/Qt-4.2.2/bin:$PATH
LD_LIBRARY_PATH=/usr/local/Trolltech/Qt-4.2.2/lib:$LD_LIBRARY_PATH
2007/2/12, Luis R. Hilario B. :
