How to option QtCreator QMake to select where to install TEMPLATE=lib ?
If I use "TEMPLATE=lib" it installs in undesired (Linux) folder.
Asked Mrs Google, she does not know how to select library installation folder.
How to option QtCreator QMake to select where to install TEMPLATE=lib ?
If I use "TEMPLATE=lib" it installs in undesired (Linux) folder.
Asked Mrs Google, she does not know how to select library installation folder.
There are two methods I have used.
You can replace the
/usr/libwith any other directory on your system.INSTALL_ROOT=/home/user/deploy(and in the .pro file there is stilltarget.path = /usr/lib) thenmake installwill deploy the result to/home/user/deploy/usr/lib.Note you can set environmental variables in Qt Creator Project mode under the Build Environment settings.