This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Multiple Versions of Qt

Tags: None
(comma "," separated)
suslik
Registered Member
Posts
1
Karma
0

Multiple Versions of Qt

Fri Apr 20, 2012 3:33 pm
This is a Qt/Linux question. I'm not sure what section it's supposed to go into and I apologize if it's in the wrong place.

I need to hack my qt library a bit, and I have it compiled and sitting in my /usr/local/Trolltech/Qt-4-8-0.

At the same time I'm running Kubuntu which runs on Qt-4.8-1. When I run my app I get:
Cannot mix incompatible Qt library (version 0x40801) with this library (version 0x40800)

So I tried setting LD_LIBRARAY_PATH=/usr/local/Trolltech/Qt-4-8-0/lib:$LD_LIBRARAY_PATH

no cigar

I tried doing lld MyApp after exporting the above LD_LIBRAR_PATH and it's not pointing to any qt-4.8.1 anywhere.

Can anyone point me in the right direction with this?

Thank you.
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: Multiple Versions of Qt

Wed Apr 25, 2012 12:15 am
It is probable your application has a RPATH set in it, meaning it internally has paths stored toward the recommended libraries to use. Have you tried rebuilding your application after changing LD_LIBRARY_PATH?


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Sogou [Bot]