[Qt] Re: New class on qt bindings

Den Jean Den.Jean at telenet.be
Mon Feb 5 20:48:14 CET 2007


On Monday 05 February 2007 04:26, Hess, Philip J wrote:
> 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


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







More information about the Qt mailing list