I'm using QtCreator and I want to specify some pre-build event before build can happen. I've a project that must install some header file on a directory. This is the root of the projects.
root
|
|-- AProjectWorkSpace
| |-- ProjectA
| | |-- source
| | |-- .pro
| |-- ProjectB
| |-- source
| |-- .pro
|-- AnotherProjectWorkspace
| |-- ProjectC
| | |-- source
| | |-- .pro
| |-- ProjectD
| |-- source
| |-- .pro
library
|-- include
|-- lib
When I build Project A, B, C or D. I want first copy all headers inside library/include. How can I do?