Sign in Join

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

Mailing lists / lazarus / 2008-11

Problems linking with QT4

3 messages · 3 people ·

Reply by email Subscribe to this list Your subscription

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

Darius Blaszyk

I have some problems with linking to the QT widgetset. Apparently the linker does not like my library, but I believe to have correctly followed the instructions on the wiki. Is there anything else I need to do (or forget)?

ldconfig -p | grep libqt4intf

gives:
libqt4intf.so (libc6,x86-64) => /usr/local/lib/libqt4intf.so

The output of the build process is:

Linking ../lazarus
/usr/bin/ld: skipping incompatible /usr/local/lib/libqt4intf.so when searching for -lqt4intf
/usr/bin/ld: cannot find -lqt4intf
lazarus.pp(122,1) Error: Error while linking
/usr/bin/ld: skipping incompatible /usr/local/lib/libqt4intf.so when searching for -lqt4intf
/usr/bin/ld: cannot find -lqt4intf

Regards, Darius

Reply by email

zeljko
to Darius Blaszyk
Darius Blaszyk wrote
I have some problems with linking to the QT widgetset. Apparently the linker does not like my library, but I believe to have correctly followed the instructions on the wiki. Is there anything else I need to do (or forget)?

What bindings version ? If you downloaded 1.66 then you must have qt-4.4 installed and use lazarus svn >= 17196 and set define USE_QT_44, otherwise it should work.

Show quoted text 24 lines
ldconfig -p | grep libqt4intf gives: libqt4intf.so (libc6,x86-64) => /usr/local/lib/libqt4intf.so The output of the build process is: Linking ../lazarus /usr/bin/ld: skipping incompatible /usr/local/lib/libqt4intf.so when searching for -lqt4intf /usr/bin/ld: cannot find -lqt4intf lazarus.pp(122,1) Error: Error while linking /usr/bin/ld: skipping incompatible /usr/local/lib/libqt4intf.so when searching for -lqt4intf /usr/bin/ld: cannot find -lqt4intf Regards, Darius _______________________________________________ Lazarus mailing list http://www.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply by email