.pro DEFINES not updating when changed
Unsolved
General and Desktop
-
Ive set up the following code to show on screen which phase of release the program is on during development and release...
win32|linux-g++|linux-g++-64 { DEFINES += BUILD_DESKTOP DEFINES += DEVELOPMENT_BUILD message(BUILD_DESKTOP) } else { DEFINES += BUILD_DEVICE DEFINES += DEVELOPMENT_BUILD #DEFINES += UI_TEST_BUILD #DEFINES += ALPHA_BUILD #DEFINES += BETA_BUILD #DEFINES += RTM_BUILD message(BUILD_DEVICE) }
Build device always changes to the correct version, however if i change from Development build to alpha build qt will not change the DEFINE. i have to delete the entire build folder and totally rebuild to get this to happen.
QMAKE is running on every build, cleaning all projects has no effect either.What on earth am i missing?!!!
-
@PennGar said in .pro DEFINES not updating when changed:
i have to delete the entire build folder and totally rebuild
This is actually normal. Else changed DEFINES will not have any affect.