Installing libs/headers with qmake
Hi there,
in my qmake pro file, I want to install the library binary to some path and the header files to some other path. So far I can install the library file with
Code:
target.path += mylibrary/libs
INSTALLS += target
but how do I set the headers? I tried
Code:
INSTALLS += target headers
but that doesn't work.
Andreas
Re: Installing libs/headers with qmake
As stated by the docs, you can add several custom install targets...
Code:
headers.files = #your files here...
headers.target = mylibrary/include
INSTALLS += headers
Hope this helps. :)
Re: Installing libs/headers with qmake
Take a look here:
http://www.qtcentre.org/forum/f-qt-s...gets-6675.html
The bundle there performs headers and binaries installation using qmake.