I want to execute a shell command using qmake. The command is :
idlpp -S -l cpp MyModel.idl
This processes my IDL and generates some .cpp and .h files that I am including in my project. Right now I am executing it manually from a terminal but I want it to be automatically done when I run qmake.
What should I add in my .pro file? Is there something equivalent to the execute_process() used by cmake?
Use system() function in .pro file
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With