diff options
author | Janne Anttila <janne.anttila@digia.com> | 2012-06-13 13:59:54 +0300 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-06-18 09:48:55 +0200 |
commit | 9fe5139e73958a2102cd5bb754c5049d18812c89 (patch) | |
tree | 4167c33c120f5f65ea1172dddb674ee001faa4cb /examples/touch/fingerpaint/fingerpaint.pro | |
parent | 15db02cb11ff070fa32f90862ce00a895e614cad (diff) |
Fix building of qtbase examples when printsupport module is disabled.
Printsupport module is not that interesting in embedded environments,
and it also does not compile at the moment for WEC7. Fixed qtbase
examples to obey the availability of printsupport module.
Change-Id: I960d1b628b9ca82450aa3b0df8dd101b2544ee12
Reviewed-by: Björn Breitmeyer <bjoern.breitmeyer@kdab.com>
Reviewed-by: Andreas Holzammer <andreas.holzammer@kdab.com>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
Diffstat (limited to 'examples/touch/fingerpaint/fingerpaint.pro')
-rw-r--r-- | examples/touch/fingerpaint/fingerpaint.pro | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/touch/fingerpaint/fingerpaint.pro b/examples/touch/fingerpaint/fingerpaint.pro index dc9e84696d..4a17ed91b3 100644 --- a/examples/touch/fingerpaint/fingerpaint.pro +++ b/examples/touch/fingerpaint/fingerpaint.pro @@ -9,7 +9,8 @@ target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/touch/fingerpaint sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS fingerpaint.pro sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/touch/fingerpaint INSTALLS += target sources -QT += widgets printsupport +QT += widgets +!isEmpty(QT.printsupport.name): QT += printsupport simulator: warning(This example might not fully work on Simulator platform) |