Skip to content

Commit

Permalink
Define the QT_NO_.... when the module is absant from QT_CONFIG
Browse files Browse the repository at this point in the history
Task-number: QTMODULARIZATION-38
  • Loading branch information
ogoffart committed May 2, 2011
1 parent 9c0cf38 commit 23131cd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/declarative/util/util.pri
Expand Up @@ -69,4 +69,6 @@ contains(QT_CONFIG, xmlpatterns) {
QT+=xmlpatterns
SOURCES += $$PWD/qdeclarativexmllistmodel.cpp
HEADERS += $$PWD/qdeclarativexmllistmodel_p.h
} else {
DEFINES += QT_NO_XMLPATTERNS
}

0 comments on commit 23131cd

Please sign in to comment.