[Development] QT.module.rpath is not used properly

Romain Pokrzywka romain.pokrzywka at gmail.com
Tue Nov 6 19:23:05 CET 2012


I have a fix for this issue in Gerrit which has been waiting for weeks:

https://codereview.qt-project.org/35394

But it hasn't been approved yet because apparently ossi thinks the commit
log isn't clear enough. Maybe you can explain it to him in better words
than I do.

Romain
On Nov 6, 2012 9:27 AM, "Thomas Senyk" <thomas.senyk at pelagicore.com> wrote:

> Hi Folks,
>
> 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.
>
>  --> the installed module pri files do not contain the rpath and rpath-link
> variables anymore.
>
> The ones in the qt-build-directory do.
> e.g.: qt_lib_core.pri contains:
> QT.core.rpath = /usr/local/Trolltech/Qt5-rasp-pi-2/lib
>
>
>
> Any though how/why they vanished?
>
>
>
> FYI:
> If you add a module to "QT" in your project file, qt_functions.prf:93 will
> add:
>  -Wl,-rpath,<SYSROOT!!>/<prefix>
>
> ...which is totally wrong... but maybe expected if QT.module.rpath is
> empty?
>
> Greets
> Thomas
> _______________________________________________
> Development mailing list
> Development at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/development
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20121106/ffd37e58/attachment.html>


More information about the Development mailing list