PDA

View Full Version : Qt Creator : Project DEFINES not reflected in editor



dot-borg
6th April 2010, 18:40
Is there some secret setting to get the editor in Qt Creator to see the pre-processor symbols in the project DEFINES section? All the sections of code that I have marked with #if defined(xxx) are grayed out even though I have the symbol defined in the project file.

squidge
6th April 2010, 19:45
I don't think Qt Creator parser your .PROject file, only your source code, so will not see the defines you have set there.

dot-borg
7th April 2010, 04:15
Ah, that is unfortunate.

ktk
22nd April 2010, 22:05
The feature to read #defines from the .pro file was added after the 1.3.1 release.