[Lazarus] Problems linking with QT4

zeljko zeljko at holobit.net
Mon Nov 3 14:25:27 CET 2008


On Monday 03 November 2008 14:21, 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.

>
> 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
> Lazarus at lazarus.freepascal.org
> http://www.lazarus.freepascal.org/mailman/listinfo/lazarus



More information about the Lazarus mailing list