From 0feb2646748a65bafea8485104a2d5833c0d1558 Mon Sep 17 00:00:00 2001 From: Rohan McGovern Date: Thu, 26 Jul 2012 16:29:13 +1000 Subject: examples: fixed compile with -no-widgets Disable a few examples depending on widgets which had previously been missed. Change-Id: Ic9c7cda94f690ee9d541c742997b7db9ace40fe0 Reviewed-by: Toby Tomkins --- examples/qtconcurrent/qtconcurrent.pro | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'examples/qtconcurrent') diff --git a/examples/qtconcurrent/qtconcurrent.pro b/examples/qtconcurrent/qtconcurrent.pro index 4e5fd6ed7d..f41ba881a2 100644 --- a/examples/qtconcurrent/qtconcurrent.pro +++ b/examples/qtconcurrent/qtconcurrent.pro @@ -8,6 +8,14 @@ SUBDIRS = imagescaling \ SUBDIRS += progressdialog } +contains(QT_CONFIG, no-widgets) { + SUBDIRS -= \ + imagescaling \ + progressdialog \ + runfunction \ + wordcount +} + # install target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/qtconcurrent sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS qtconcurrent.pro README -- cgit v1.2.3