On Tue, Sep 29, 2015 at 08:32:21AM -0700, Jake Petroules wrote:
> If you set QMAKE_RPATHDIR to some value (including an empty value),
> then qmake won't add the absolute path in the first place.
>
note that things are different again in the 5.6 branch.

the only way to suppress the addition of the qt rpath (with an -rpath
build of qt, which is the default) now is CONFIG+=no_qt_rpath.

for users outside qt, the qt rpath will be absolute by default. you can
define an INSTALL for target which has the right location relative to
$$[QT_INSTALL_DIR] and add CONFIG+=relative_qt_rpath to automatically
have the right relative path added instead.

note that this also works on linux now.

and with https://codereview.qt-project.org/126762 , QMAKE_RPATHDIR will
generically support loader-relative paths.
_______________________________________________
Development mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/development

Reply via email to