PDA

View Full Version : About INSTALLS var, how to use it ?



tonnot
27th April 2011, 17:48
I have read the qmake reference but I dont know how to use the INSTALLS
What does INSTALLS?
it copy files FORM target path to current build dir or TO target path ?
target.path =
target.files +=

And .. How I say to make or Qmake that does it ?
Have I to write some argument at build steps elements at Projects build settings tab ?

(I'd like to use INSTALLS to copy some files builded to a distribution folder)

I have some confused... And I dont find any useful help on the web.
Any help will be appreciated . Thanks

wysota
28th April 2011, 09:06
I have read the qmake reference but I dont know how to use the INSTALLS
What does INSTALLS?
it copy files FORM target path to current build dir or TO target path ?
target.path =
target.files +=
It creates an "install" target for make that copies files you choose to the path you choose. By default the files have to exist at the time qmake is called or should be generated as the target of the whole build process.