diff options
Diffstat (limited to 'tests/auto/qttestrpath.pri')
-rw-r--r-- | tests/auto/qttestrpath.pri | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/auto/qttestrpath.pri b/tests/auto/qttestrpath.pri new file mode 100644 index 0000000000..fc9ab92307 --- /dev/null +++ b/tests/auto/qttestrpath.pri @@ -0,0 +1,11 @@ +linux-* { + QMAKE_RPATHDIR += $$IDE_BUILD_TREE/$$IDE_LIBRARY_BASENAME/qtcreator + QMAKE_RPATHDIR += $$IDE_PLUGIN_PATH/Nokia + + IDE_PLUGIN_RPATH = $$join(QMAKE_RPATHDIR, ":") + + QMAKE_LFLAGS += -Wl,-z,origin \'-Wl,-rpath,$${IDE_PLUGIN_RPATH}\' +} else:macx { + QMAKE_LFLAGS += -Wl,-rpath,\"$$IDE_BIN_PATH/../\" +} + |