qttestrpath.pri 316 Bytes
Newer Older
1 2
linux-* {
    QMAKE_RPATHDIR += $$IDE_BUILD_TREE/$$IDE_LIBRARY_BASENAME/qtcreator
3
    QMAKE_RPATHDIR += $$IDE_PLUGIN_PATH
4 5 6 7 8 9 10 11

    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/../\"
}