summaryrefslogtreecommitdiffstats
path: root/mkspecs/features/qml_plugin.prf
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>2015-11-20 15:26:30 +0100
committerOswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>2015-11-26 17:03:32 +0000
commit94fb31be984513d24b00eff3badc3b13c93fb10f (patch)
tree7879e9c5073041ae5f6cd1142dac3b6027a84e69 /mkspecs/features/qml_plugin.prf
parenta3bcb68bc8a87a4c6e3173ae26a9c67fde2d356b (diff)
build QML plugins with relative RPATH as well
amends 967372c97. Change-Id: I898950d6847e43d565748cd8d1ea583cf5ca5c9d Reviewed-by: Jake Petroules <jake.petroules@theqtcompany.com> Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
Diffstat (limited to 'mkspecs/features/qml_plugin.prf')
-rw-r--r--mkspecs/features/qml_plugin.prf2
1 files changed, 2 insertions, 0 deletions
diff --git a/mkspecs/features/qml_plugin.prf b/mkspecs/features/qml_plugin.prf
index a639ac2969..1bc05caefe 100644
--- a/mkspecs/features/qml_plugin.prf
+++ b/mkspecs/features/qml_plugin.prf
@@ -19,6 +19,8 @@ if(win32|mac):!macx-xcode {
contains(QT_CONFIG, build_all):CONFIG += build_all
}
+CONFIG += relative_qt_rpath # Qt's QML plugins should be relocatable
+
!no_cxx_module:isEmpty(CXX_MODULE) {
CXX_MODULE = $$TARGET
TARGET = declarative_$${TARGET}