summaryrefslogtreecommitdiff
path: root/examples/xmlpatterns/xmlpatterns.pro
diff options
context:
space:
mode:
Diffstat (limited to 'examples/xmlpatterns/xmlpatterns.pro')
-rw-r--r--examples/xmlpatterns/xmlpatterns.pro7
1 files changed, 6 insertions, 1 deletions
diff --git a/examples/xmlpatterns/xmlpatterns.pro b/examples/xmlpatterns/xmlpatterns.pro
index ca63f69..bfc3a3e 100644
--- a/examples/xmlpatterns/xmlpatterns.pro
+++ b/examples/xmlpatterns/xmlpatterns.pro
@@ -1,6 +1,11 @@
TEMPLATE = subdirs
SUBDIRS += xquery
-qtHaveModule(widgets): SUBDIRS += filetree schema recipes
+qtHaveModule(widgets) {
+ SUBDIRS += recipes
+
+ load(qfeatures)
+ !contains(QT_DISABLED_FEATURES, xmlschema): SUBDIRS += filetree schema
+}
EXAMPLE_FILES = \
shared