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/itemviews/spreadsheet/spreadsheet.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/itemviews/spreadsheet/spreadsheet.pro')
-rw-r--r-- | examples/itemviews/spreadsheet/spreadsheet.pro | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/itemviews/spreadsheet/spreadsheet.pro b/examples/itemviews/spreadsheet/spreadsheet.pro index 93fc5e95c6..48fd07e7fd 100644 --- a/examples/itemviews/spreadsheet/spreadsheet.pro +++ b/examples/itemviews/spreadsheet/spreadsheet.pro @@ -1,4 +1,5 @@ -QT += widgets printsupport +QT += widgets +!isEmpty(QT.printsupport.name): QT += printsupport #unix:contains(QT_CONFIG, dbus):QT += dbus widgets HEADERS += printview.h spreadsheet.h spreadsheetdelegate.h spreadsheetitem.h |