[Qt-interest] Running Qt 4.7 applications without Qt 4.6 interfering

Ioan Calin Borcoman iborco at gmail.com
Thu May 6 17:00:44 CEST 2010


Check this: http://sourceforge.net/apps/trac/ibocator/wiki/BuildingWithLocalPackages

It is very similar with what you need and it works great for me. If
it's not working, pls leat me know.

Cheers,

Ionutz

On Thu, May 6, 2010 at 5:55 PM, Nikos Chantziaras <realnc at arcor.de> wrote:
> On my Linux box, I've compiled the newly released Qt 4.7.0 Beta1 and
> installed it in my home directory.  The system's Qt version (/usr/lib)
> is Qt 4.6.2.  I've set my environment when building against 4.7 like this:
>
>   export PATH="/home/realnc/opt/qt/4.7.0/bin:$PATH"
>   export LD_LIBRARY_PATH="/home/realnc/opt/qt/4.7.0/lib"
>
> When I try to run the app however, I get:
>
>   Cannot mix incompatible Qt library (version 0x40602) with
>   this library (version 0x40700)
>   Aborted
>
> When I move /usr/lib/qt4/ to somewhere else, then the application works
> OK; no warnings or errors.  But I can't do that for real, or else KDE
> will stop working.
>
> What can I do?
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>




More information about the Qt-interest-old mailing list