Qt Creator + VC19 (MSVC2015) + WinSDK8.1 No Qt itself used. Just console application std+boost+catch+easyloggingpp
VC\bin and WinSDK\bin both are in a system path variable. all includes and lib paths configured in a pro file.
I need to move them out from project file to build this project on various machines (all windows but different locations of the used libraries).
I think that cl.exe can read this from LIB and INCLUDE env variables, but if I do this (set headers and libraries paths from bat file or in a project settings in QT Creator) it doesn't work, QtC reports me that can't find some headers. Could you clarify for me:
- Should Qt Creator read LIB and INCLUDE variables for the build and parsing? What is right steps to make it working?
- If Qt Creator can't read the env variables , then what is right way to remove the dependency of absolute paths in project build with qmake?