Hi.
I cant seem to find information on how to define an install target through the .pro file
I thought I could do something like:
unix{
message(inside unix scope)
target.path = /usr/local/lib
target.files = *.so
INSTALLS += target
#QMAKE_EXTRA_TARGETS += target
#PRE_TARGETDEPS += target
}
unix{
message(inside unix scope)
target.path = /usr/local/lib
target.files = *.so
INSTALLS += target
#QMAKE_EXTRA_TARGETS += target
#PRE_TARGETDEPS += target
}
To copy to clipboard, switch view to plain text mode
The last two lines was also tested but no difference
My question. How do I specify the install target through the pro file. I would like the install to move *.so to /usr/local/lib and *.h to /usr/local/include/myLib
I did not find enough information in the qmake manual.
Can anybody help me?
Bookmarks