Re: autopackage of qt

Justin Karneges <[email protected]> Wed, 19 Aug 2009 15:16:47 -0700
Newsgroups gmane.comp.autopackage.devel
Message-ID <[email protected]>
On Thursday 13 August 2009 03:13:47 Isak Savo wrote:
> 2009/8/12 Eugene Zolenko <[email protected]>:
> > As it is, you must either build and link to distro's supplied Qt (since
> > everything else uses it), or install your own copy privately if you
> > distribute binaries. And make sure you force linker to look there first
> > (rpath) -- you don't want user installing distro's Qt just to kill your
> > app. And make sure to set proper rpath on Qt libs themselves, otherwise
> > QtGui will go and load QtCore of wrong version and happily blow up :).
>
> Just to highlight: apbuild will set rpath to a few useful directories
> for you , see http://www.autopackage.org/apbuild-apgcc.php
>
> This means you can set APBUILD_PROJECTNAME to the shortname of your
> app, and then put your private version of qt in $PREFIX/lib/$SHORTNAME
> and it will only be used by your package without risking it to break
> other QT apps on the target system.

Do I also need to set the rpath of the Qt libraries themselves?  What about on 
plugins that I may load?  Or will all of them use the app's rpath?

-Justin

---------------------------------------------------------------------
To unsubscribe, e-mail: autopackage-dev-unsubscribe-OfajU3CKLf1/[email protected]
For additional commands, e-mail: autopackage-dev-help-OfajU3CKLf1/[email protected]