Re: [SailfishDevel] DEFINES in .pro file: Changes require clean to take effect

2013-08-31 Thread Lucien XU
Hi Christopher Be sure to run qmake and _rebuild_ your project when you change the defines, because the change in pro file needs a recompilation in files containing the #ifdef macros. If you run qmake and rebuild, at least you are sure that you are running the files that are using the correct

[SailfishDevel] DEFINES in .pro file: Changes require clean to take effect

2013-08-31 Thread christopher . lamb
Hi all I have a DEFINES QMake directive in my project .pro file which (should) allow me to respond to this with #if #ifdef C++ preprocessor macros in my main.cpp file. Let assume I have the following //.pro file DEFINES += TEST_A //main.cpp #ifdef TEST_A //Do Something #endif #ifdef T