Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / qt / 2007-02

Re: New class on qt bindings

8 messages · 4 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Den Jean

see version 1.27

you wrote 13 lines
Hello, It has become useful to have a interface to QSystemTrayIcon on qt bindings to implement TTrayIcon on Mac OS X easely. Actually that?s the only way to implement trayicon on mac os x, because I don?t have a mac machine to do the other way, which is creating a DLL on Objective C to procedurize the cocoa interface and latter link it to the different widgetsets. Can you add it? thanks,
Felipe Monteiro de Carvalho
to Den Jean

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 Monteiro de Carvalho PS: Wow, it's so cold in deutchland!
Hess, Philip J
to Felipe Monteiro de Carvalho

Felipe,

Welcome to the northern hemisphere.

It's -16C degrees north latitude.

-Phil

Earlier message 25 lines
-----Original Message----- From: on behalf of Felipe Monteiro de Carvalho Sent: Sun 2/4/2007 1:36 PM To: Den Jean Cc: Items specific to the Qt widget set Subject: [Qt] Re: New class on qt bindings 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 Monteiro de Carvalho PS: Wow, it's so cold in deutchland!
Felipe Monteiro de Carvalho
to Hess, Philip J
Philip J wrote
Welcome to the northern hemisphere. It's -16C degrees north latitude.

Lol! Where are you from?

Felipe Monteiro de Carvalho
Den Jean
to Hess, Philip J: Welcome to the northern hemisphere. It's -16C degrees north latitude. -Phil…
Philip J wrote 10 lines
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

Felipe Monteiro de Carvalho
to Den Jean
Den Jean wrote
Mandriva 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

Felipe Monteiro de Carvalho
Luis R. Hilario B.
to Felipe Monteiro de Carvalho

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
Den Jean wrote: > Mandriva 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 -- Felipe Monteiro de Carvalho _______________________________________________ Qt mailing list http://www.lazarus.freepascal.org/mailman/listinfo/qt
Luis R. Hilario B.
to Luis R. Hilario B.

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. :

Show quoted text 35 lines
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 : > Den Jean wrote: > > Mandriva 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 > > -- > Felipe Monteiro de Carvalho > _______________________________________________ > Qt mailing list > > http://www.lazarus.freepascal.org/mailman/listinfo/qt > -- http://luisdigital.com