What changes must I make to the .pro file if I want to execute chmod command, execute the output binary file, or do some other operations.
What changes must I make to the .pro file if I want to execute
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I had a similar problem. I wanted a special tool (versioner) to run over the code every time the Makefile was executed. Here’s the solution:
(to be read in the Qmake Manual, Configuring qmake’s Environment, Section: Customizing Makefile Output)
Create you own Makefile target. Specify the command etc.
This way, you have an extra target you can call with
make mytargetfor example. If you want to tie it together to the actual buildtarget you’ll have to add:Hope that helps.
Best regards
D