Re: autopackage of qt
Isak Savo <[email protected]> Thu, 13 Aug 2009 12:13:47 +0200
| Newsgroups | gmane.comp.autopackage.devel |
|---|---|
| Message-ID | <[email protected]> |
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. -Isak --------------------------------------------------------------------- To unsubscribe, e-mail: autopackage-dev-unsubscribe-OfajU3CKLf1/[email protected] For additional commands, e-mail: autopackage-dev-help-OfajU3CKLf1/[email protected]