projects
/
profile
/
ivi
/
qtdeclarative.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9c0cf38
)
Define the QT_NO_.... when the module is absant from QT_CONFIG
author
Olivier Goffart
<olivier.goffart@nokia.com>
Wed, 6 Apr 2011 13:33:13 +0000
(15:33 +0200)
committer
Olivier Goffart
<olivier.goffart@nokia.com>
Mon, 2 May 2011 13:30:22 +0000
(15:30 +0200)
Task-number: QTMODULARIZATION-38
src/declarative/util/util.pri
patch
|
blob
|
history
diff --git
a/src/declarative/util/util.pri
b/src/declarative/util/util.pri
index
62fa8f1
..
5bc8b11
100644
(file)
--- a/
src/declarative/util/util.pri
+++ b/
src/declarative/util/util.pri
@@
-69,4
+69,6
@@
contains(QT_CONFIG, xmlpatterns) {
QT+=xmlpatterns
SOURCES += $$PWD/qdeclarativexmllistmodel.cpp
HEADERS += $$PWD/qdeclarativexmllistmodel_p.h
+} else {
+ DEFINES += QT_NO_XMLPATTERNS
}