summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Seiderer <ps.report@gmx.net>2017-04-06 21:53:40 +0200
committerPeter Seiderer <ps.report@gmx.net>2017-04-08 09:00:22 +0000
commit452a78d0ac4a1579733a8ab641be24c9b7c0dd96 (patch)
treeae763680dfaf074f2a902eb0fd67bc5e904f0405
parent67d1d7843ab5e1c904c8f0f76eadb9fc3f1bbb17 (diff)
examples: photoviewer needs widgets support
Task-number: QTBUG-60014 Change-Id: I3f44e68427f3f2855fd030dfa3f02be066d6fce3 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
-rw-r--r--examples/quick/demos/demos.pro6
1 files changed, 4 insertions, 2 deletions
diff --git a/examples/quick/demos/demos.pro b/examples/quick/demos/demos.pro
index 0644b81a22..5a6fd52baf 100644
--- a/examples/quick/demos/demos.pro
+++ b/examples/quick/demos/demos.pro
@@ -7,5 +7,7 @@ SUBDIRS = samegame \
photosurface \
stocqt
-qtHaveModule(xmlpatterns): SUBDIRS += rssnews photoviewer
-
+qtHaveModule(xmlpatterns) {
+ SUBDIRS += rssnews
+ qtHaveModule(widgets): SUBDIRS += photoviewer
+}