Setting DEFINE in .pro file not working
Unsolved
General and Desktop
-
wrote on 27 Apr 2016, 18:33 last edited by jwomble
I am trying to add a preprossesor define in my .pro file like this:
DEFINES += SOMEDEFINEThis isn't working for me (the definition is not being added to the make.debug or make.release files). Is there some trick to this that I'm missing? Does the order in the .pro file matter?
Thanks,
Jeff -
wrote on 27 Apr 2016, 18:34 last edited by
HI,
use
DEFINES += SOMEDEFINE -
wrote on 27 Apr 2016, 20:14 last edited by
Sorry, that was a typo. I am using DEFINES:
DEFINES += MY_DEFINE -
Hi,
Did you re-run qmake after changing the DEFINES ?
1/4