summaryrefslogtreecommitdiffstats
path: root/src/corelib
diff options
context:
space:
mode:
authorJeremy Katz <jeremy.katz@nokia.com>2009-09-25 13:49:59 (GMT)
committerJeremy Katz <jeremy.katz@nokia.com>2009-09-25 13:49:59 (GMT)
commit586722a4e288e9f1e9d7751a0e87e39c274144d8 (patch)
treea60e36f7f8924254a115f4130b26521bcb5ac37e /src/corelib
parent29234e97ad6187f9f7625ef75baaf43a05eeafad (diff)
downloadQt-586722a4e288e9f1e9d7751a0e87e39c274144d8.zip
Qt-586722a4e288e9f1e9d7751a0e87e39c274144d8.tar.gz
Qt-586722a4e288e9f1e9d7751a0e87e39c274144d8.tar.bz2
QPrintPreviewDialog depends on QMainWindow (qfeatures.txt)
Reviewed-by: Paul
Diffstat (limited to 'src/corelib')
-rw-r--r--src/corelib/global/qfeatures.h2
-rw-r--r--src/corelib/global/qfeatures.txt2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/corelib/global/qfeatures.h b/src/corelib/global/qfeatures.h
index 29f46f6..36c2cf9 100644
--- a/src/corelib/global/qfeatures.h
+++ b/src/corelib/global/qfeatures.h
@@ -847,7 +847,7 @@
#endif
// QPrintPreviewDialog
-#if !defined(QT_NO_PRINTPREVIEWDIALOG) && (defined(QT_NO_PRINTPREVIEWWIDGET) || defined(QT_NO_PRINTDIALOG))
+#if !defined(QT_NO_PRINTPREVIEWDIALOG) && (defined(QT_NO_PRINTPREVIEWWIDGET) || defined(QT_NO_PRINTDIALOG) || defined(QT_NO_MAINWINDOW))
#define QT_NO_PRINTPREVIEWDIALOG
#endif
diff --git a/src/corelib/global/qfeatures.txt b/src/corelib/global/qfeatures.txt
index 3a6c050..ec47883 100644
--- a/src/corelib/global/qfeatures.txt
+++ b/src/corelib/global/qfeatures.txt
@@ -612,7 +612,7 @@ SeeAlso: ???
Feature: PRINTPREVIEWDIALOG
Description: Provides a dialog for previewing and configuring page layouts for printer output.
Section: Dialogs
-Requires: PRINTPREVIEWWIDGET PRINTDIALOG
+Requires: PRINTPREVIEWWIDGET PRINTDIALOG MAINWINDOW
Name: QPrintPreviewDialog
SeeAlso: ???