[Development] QT.module.rpath is not used properly
Oswald Buddenhagen
oswald.buddenhagen at digia.com
Tue Nov 6 20:21:24 CET 2012
On Tue, Nov 06, 2012 at 06:17:04PM +0100, Thomas Senyk wrote:
> I got a self-written mkspec for the rasp-pi and everything is working as
> expected.
>
> With one exception, for external applications he is not adding the proper
> -Wl,-rpath,<prefix>
> The problem is that:
> cat /usr/local/Trolltech/Qt5-rasp-pi-2/mkspecs/modules/qt_lib_* |grep rpath
> returns nothing.
>
that's not the problem.
> If you add a module to "QT" in your project file, qt_functions.prf:93 will add:
> -Wl,-rpath,<SYSROOT!!>/<prefix>
>
*that* is the problem.
the fallback path doesn't account for sysroots. and it cannot do that
cleanly. so it should be scrapped.
More information about the Development
mailing list