path: root/mkspecs/features/qt_module.prf
diff options
authorOswald Buddenhagen <>2015-06-05 17:45:47 +0200
committerOswald Buddenhagen <>2015-09-17 16:36:12 +0000
commit967372c975fcaea5c2ef4e8a5950fb60bab10e6c (patch)
treed54c001705ff067bf77717e8c43850bdd344a2ee /mkspecs/features/qt_module.prf
parente853edd657d8f403d175a0e0c305ebf61a51f3ef (diff)
sanitize qt rpath handling, in particular on mac
the addition of qt's rpath belongs into qt.prf - even on mac. so consolidate the two implementations. as a nice "side effect", we get relative rpaths also on linux. another "side effect" is that we don't unnecessarily add the qt rpath to qt modules also on linux. the qt rpath addition mechanism should not be responsible for setting the policy who gets a relative rpath, so move the logic to higher-level callers. Change-Id: I52e8fe2e8279e7b1ac25fae758867a5cb1cafcf8 Reviewed-by: Joerg Bornemann <> Reviewed-by: Oswald Buddenhagen <>
Diffstat (limited to 'mkspecs/features/qt_module.prf')
1 files changed, 2 insertions, 0 deletions
diff --git a/mkspecs/features/qt_module.prf b/mkspecs/features/qt_module.prf
index 5206691a17..3c0526055c 100644
--- a/mkspecs/features/qt_module.prf
+++ b/mkspecs/features/qt_module.prf
@@ -42,6 +42,8 @@ host_build {
+CONFIG += relative_qt_rpath # Qt libraries should be relocatable
ucmodule = $$upper($$MODULE)