HI,
is it possible to execute bash commands within *.pro file?
I have to create some directories and there would be MKDIR usable.
Thanks.
HI,
is it possible to execute bash commands within *.pro file?
I have to create some directories and there would be MKDIR usable.
Thanks.
kemp (9th February 2007)
Thank you for the answer.
I want to that my *.pro file creates the makefiles in specific directories:
/myproject/myprofile.pro
/myproject/Linux/MakeFile.debug
/myproject/Linux/MakeFile.release
/myproject/Windows/MakeFile.debug
/myproject/Windows/MakeFile.release
How could i do that?
Does anybody know how to specify the output dir of MakeFiles?
May I ask, why?
J-P Nurmi
I need this for subversion.
currentdir/profile.pro
So i need to run qmake and generate:
currentdir/Linux/MakeFile
currentdir/Linux/MakeFile.Debug
currentdir/Linux/MakeFile.Release
currentdir/Windows/MakeFile
currentdir/Windows/MakeFile.Debug
currentdir/Windows/MakeFile.Release
also i will then copy the current *.pro file in Linux and Windows
The nightlybuilds are then made seperate from currentdir/Linux and currentdir/windows
Personally I would avoid adding platform dependent makefiles into repository. Why not just checkout a fresh copy and let qmake generate the makefiles applicable for the platform in question? Sooner or later you forget to commit changed makefiles anyway..
J-P Nurmi
Thanks for your help.
Bookmarks