diff options
author | Olivier Goffart <olivier.goffart@nokia.com> | 2011-04-06 15:33:13 +0200 |
---|---|---|
committer | Olivier Goffart <olivier.goffart@nokia.com> | 2011-05-02 15:30:34 +0200 |
commit | 4b225c893a7bf71b95dba6413e0c608ec4de10ff (patch) | |
tree | 8716d4ea7516cd6718c46df96c1306a11e09592c /demos | |
parent | 624a67422c69e2280d4ce90c87992f383688d892 (diff) | |
download | qtdoc-4b225c893a7bf71b95dba6413e0c608ec4de10ff.tar.gz |
Define the QT_NO_.... when the module is absant from QT_CONFIG
Task-number: QTMODULARIZATION-38
Diffstat (limited to 'demos')
-rw-r--r-- | demos/qtdemo/qtdemo.pro | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/demos/qtdemo/qtdemo.pro b/demos/qtdemo/qtdemo.pro index b02cdfaf..7cbe8ffb 100644 --- a/demos/qtdemo/qtdemo.pro +++ b/demos/qtdemo/qtdemo.pro @@ -15,6 +15,8 @@ contains(QT_CONFIG, opengl) { contains(QT_CONFIG, declarative) { QT += declarative +} else { + DEFINES *= QT_NO_DECLARATIVE } build_all:!build_pass { |