summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMaurice Kalinowski <maurice.kalinowski@nokia.com>2010-03-01 13:01:51 (GMT)
committerJesper Thomschutz <jesper.thomschutz@nokia.com>2010-03-02 15:41:39 (GMT)
commitf3baac0fee95c3439615545877c5a55e401c11f0 (patch)
tree74ae9f23e2b679cc9083278d650146c30bfacf16
parenta56e5388732bdc5e346725019ff2ce2f215c48c3 (diff)
downloadQt-f3baac0fee95c3439615545877c5a55e401c11f0.zip
Qt-f3baac0fee95c3439615545877c5a55e401c11f0.tar.gz
Qt-f3baac0fee95c3439615545877c5a55e401c11f0.tar.bz2
build fix for WinCE
only use xmlpatterns if Qt is configured to build it Reviewed-by: Paul Olav Tvete (cherry picked from commit 454d4fa2fbefabb54f7f567aaf01f2c1faa165f4)
-rw-r--r--tools/qml/qml.pro4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/qml/qml.pro b/tools/qml/qml.pro
index 9c9c398..9b68dbc 100644
--- a/tools/qml/qml.pro
+++ b/tools/qml/qml.pro
@@ -41,9 +41,11 @@ INSTALLS += target
wince* {
QT += scripttools \
xml \
- xmlpatterns \
phonon
+ contains(QT_CONFIG, xmlpatterns) {
+ QT += xmlpatterns
+ }
contains(QT_CONFIG, webkit) {
QT += webkit
}