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:

Qt Code:
  1. unix{
  2. message(inside unix scope)
  3. target.path = /usr/local/lib
  4. target.files = *.so
  5. INSTALLS += target
  6. #QMAKE_EXTRA_TARGETS += target
  7. #PRE_TARGETDEPS += target
  8. }
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?