path: root/examples/painting/fontsampler/
diff options
authorJanne Anttila <>2012-06-13 13:59:54 +0300
committerQt by Nokia <>2012-06-18 09:48:55 +0200
commit9fe5139e73958a2102cd5bb754c5049d18812c89 (patch)
tree4167c33c120f5f65ea1172dddb674ee001faa4cb /examples/painting/fontsampler/
parent15db02cb11ff070fa32f90862ce00a895e614cad (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 <> Reviewed-by: Andreas Holzammer <> Reviewed-by: Oswald Buddenhagen <>
Diffstat (limited to 'examples/painting/fontsampler/')
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/painting/fontsampler/ b/examples/painting/fontsampler/
index 539fc4894b..b918c51837 100644
--- a/examples/painting/fontsampler/
+++ b/examples/painting/fontsampler/
@@ -9,4 +9,5 @@ sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/painting/fontsampler
INSTALLS += target sources
-QT += widgets printsupport
+QT += widgets
+!isEmpty( QT += printsupport