I have a script, runScript.sh, which I would like to run (to set up some environment variables, etc.) before creating the application.
Using the tip Launching a / script program from QMake , in my .pro file, I have the first line,
QMAKE_POST_LINK += ./runScript.sh
which on make
compiles and binds my application, and THEN runs the script.
I saw examples of how to set a script as a target in a .pro file, but I'm not sure if I fully understand the concept. Can someone explain this better or (even better) does anyone know how to make what I'm trying to do easier (I was hoping for "QMAKE_PRE_LINK", but that does not seem to exist LOL)?
Using Qt-4.8.4 and qmake 2.03
source share