diff options
author | Jørgen Lind <jorgen.lind@nokia.com> | 2009-10-09 11:22:24 +0200 |
---|---|---|
committer | Jørgen Lind <jorgen.lind@nokia.com> | 2009-10-29 17:00:09 +0100 |
commit | 86e3be13d870e8dce1e06f7cd0adeb8996fade7d (patch) | |
tree | 7735f5030300a179762650dbf5402b78d722e74f | |
parent | a7a70ad81a9a1f3cba5fca66c232e7d8560a2850 (diff) | |
download | qt4-tools-86e3be13d870e8dce1e06f7cd0adeb8996fade7d.tar.gz |
Fix dependencies to QT_NO_PRINTPREVIEWWIDGET
Reviewed-by: Trust Me
-rw-r--r-- | src/corelib/global/qfeatures.h | 2 | ||||
-rw-r--r-- | src/corelib/global/qfeatures.txt | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/corelib/global/qfeatures.h b/src/corelib/global/qfeatures.h index 36c2cf936c..ab81290de1 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 diff --git a/src/corelib/global/qfeatures.txt b/src/corelib/global/qfeatures.txt index ec478836f6..a0928fcd44 100644 --- a/src/corelib/global/qfeatures.txt +++ b/src/corelib/global/qfeatures.txt @@ -567,7 +567,7 @@ Feature: PRINTPREVIEWWIDGET Description: Provides a widget for previewing page layouts for printer output. a date. Section: Widgets -Requires: GRAPHICSVIEW PRINTER +Requires: GRAPHICSVIEW PRINTER TOOLBAR MAINWINDOW Name: QPrintPreviewWidget SeeAlso: ??? |