Relative Path on Qmake (.pro file)
-
I want to configure the libs to relative path of project.
@
unix {
LIBS += /home/dvl/SOURCE_CODE/qextserialport-1.2beta2/lib/libqextserialport-1.2.so
}
@I try to use this settings, but not works:
@
unix {
LIBS += ./lib/libqextserialport-1.2.so
}
@
and
@
unix {
LIBS += lib/libqextserialport-1.2.so
}
@It's possible to use relative path on .pro file?
-
This not works too:
@
unix {
LIBS += -L./lib/
}
@ -
Hello,
Try:
@
unix {
LIBS += $$PRO_FILE_PWD/lib/libqextserialport-1.2.so
}
@Good luck!
-
thanks, now is resolved!