I'm deploying an application to Windows with a statically linked library.
On the development machine, the pro file has:
Qt Code:
INCLUDEPATH += C:\cpp\qt_projects\hrlogger\release\qserialdevice\src LIBS += -L"C:\cpp\qt_projects\hrlogger\release\qserialdevice\src\release" LIBS += -lqserialdeviceTo copy to clipboard, switch view to plain text mode
Which works ok, but obviously this won't work on the deployment since the directories will be different. So the question is, how to specify the library directory in the pro file so it is portable?
Bookmarks