summaryrefslogtreecommitdiffstats
path: root/src/corelib/global/qfeatures.h
diff options
context:
space:
mode:
authorJørgen Lind <jorgen.lind@nokia.com>2009-10-09 09:22:24 (GMT)
committerJørgen Lind <jorgen.lind@nokia.com>2009-10-29 16:00:09 (GMT)
commit86e3be13d870e8dce1e06f7cd0adeb8996fade7d (patch)
tree7735f5030300a179762650dbf5402b78d722e74f /src/corelib/global/qfeatures.h
parenta7a70ad81a9a1f3cba5fca66c232e7d8560a2850 (diff)
downloadQt-86e3be13d870e8dce1e06f7cd0adeb8996fade7d.zip
Qt-86e3be13d870e8dce1e06f7cd0adeb8996fade7d.tar.gz
Qt-86e3be13d870e8dce1e06f7cd0adeb8996fade7d.tar.bz2
Fix dependencies to QT_NO_PRINTPREVIEWWIDGET
Reviewed-by: Trust Me
Diffstat (limited to 'src/corelib/global/qfeatures.h')
-rw-r--r--src/corelib/global/qfeatures.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/global/qfeatures.h b/src/corelib/global/qfeatures.h
index 36c2cf9..ab81290 100644
--- a/src/corelib/global/qfeatures.h
+++ b/src/corelib/global/qfeatures.h
@@ -767,7 +767,7 @@
#endif
// QPrintPreviewWidget
-#if !defined(QT_NO_PRINTPREVIEWWIDGET) && (defined(QT_NO_GRAPHICSVIEW) || defined(QT_NO_PRINTER))
+#if !defined(QT_NO_PRINTPREVIEWWIDGET) && (defined(QT_NO_GRAPHICSVIEW) || defined(QT_NO_PRINTER) || defined(QT_NO_TOOLBAR) || defined(QT_NO_MAINWINDOW))
#define QT_NO_PRINTPREVIEWWIDGET
#endif