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@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development

Reply via email to