Hi, Got it:
QMAKE_RPATHDIR += ${ORIGIN}
On 22.02.2016 10:11, Nikos Chantziaras wrote:
On 22/02/16 08:55, Igor Mironchik wrote:On 22.02.2016 09:22, Koehne Kai wrote:You should rather utilize rpath, and set it e.g. to $ORIGIN https://en.wikipedia.org/wiki/RpathInteresting, but "QMAKE_RPATHDIR += ." doesn't work. It require full path to work correctly...qmake doesn't support it. You have to do it by hand: QMAKE_LFLAGS += -Wl,-rpath,\$\$ORIGIN/libs And then I put all libraries in the "lib" directory of the execututable. (And this is obviously linker and platform specific.) _______________________________________________ Interest mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/interest
_______________________________________________ Interest mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/interest
