[Qt-creator] project file, local defines?

Campbell Barton ideasman42 at gmail.com
Fri Mar 4 16:18:44 CET 2011


>From what I can tell the only way to add defines to a qtcreator
project file is like this:
MyProject.config
---
// ADD PREDEFINED MACROS HERE!
#define TEST
---

The issue is defines are not global, they are per file though
per-directory would be good enough for my use.

I was wondering if there was a way to set defines so they are not set
for the whole project.

-- 
- Campbell



More information about the Qt-creator-old mailing list