summaryrefslogtreecommitdiffstats
path: root/examples/examples.pro
diff options
context:
space:
mode:
authorThomas Zander <thomas.zander@trolltech.com>2009-04-29 16:13:43 +0200
committerThomas Zander <thomas.zander@trolltech.com>2009-04-29 16:15:08 +0200
commit0febaa92d5a8d932d6c86f120a60f75f6f128bbb (patch)
tree77caa738eb8cdf8acb7e25041df82e0d1208c35f /examples/examples.pro
parent292b29d96bee08ccfdda5b4b025b175f77081437 (diff)
Fix compilation on a Qt that doesn't have printing available (like WinCE)
Add ifdefs to disable compilation of the printing classes if Qt asked this
Diffstat (limited to 'examples/examples.pro')
-rw-r--r--examples/examples.pro4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/examples.pro b/examples/examples.pro
index 8a1532e..982b835 100644
--- a/examples/examples.pro
+++ b/examples/examples.pro
@@ -6,8 +6,8 @@ SUBDIRS = \
grid \
path \
iconList \
- treeAdaptor \
- printing
+ treeAdaptor
+!contains(DEFINES, QT_NO_PRINTER) SUBDIRS += printing
exists($$QMAKE_INCDIR_QT/QtCore/qeasingcurve.h) {
SUBDIRS += \