[Interest] Correcting deployment linkages in Linux shared libraries

Thiago Macieira thiago.macieira at intel.com
Wed Dec 4 07:25:35 CET 2013

On quarta-feira, 4 de dezembro de 2013 06:20:45, Rainer Wiesenfarth wrote:
> What we did in addition for our software is to add these options to the
> Qt configure:
>    -buildkey namexyz -no-rpath -R $ORIGIN
> This was used to prevent 'our' QtCore4.so (?) from loading
> system-installed plugins that in turn tried to use a different version
> of the Qt shared objects.
> Thiago, please comment on this if it happens to be complete nonsense... :-)

That only applies to Qt's own build. It does not apply to your libraries, 
plugins and executables. You need to add the $ORIGIN yourself, in your .pro 

Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20131203/867df30f/attachment.sig>

More information about the Interest mailing list