diff options
author | Rohan McGovern <rohan.mcgovern@nokia.com> | 2012-07-26 16:29:13 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-07-27 03:27:27 +0200 |
commit | 0feb2646748a65bafea8485104a2d5833c0d1558 (patch) | |
tree | 7465915a014ee27e63dc1ebae36678858edfa523 /examples/qtconcurrent | |
parent | 9784dd8d06565177a302d4dabec0b6555a958e53 (diff) |
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 <toby.tomkins@nokia.com>
Diffstat (limited to 'examples/qtconcurrent')
-rw-r--r-- | examples/qtconcurrent/qtconcurrent.pro | 8 |
1 files changed, 8 insertions, 0 deletions
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 |