diff options
author | Jørgen Lind <jorgen.lind@nokia.com> | 2009-10-09 09:22:24 (GMT) |
---|---|---|
committer | Jørgen Lind <jorgen.lind@nokia.com> | 2009-10-29 16:00:09 (GMT) |
commit | 86e3be13d870e8dce1e06f7cd0adeb8996fade7d (patch) | |
tree | 7735f5030300a179762650dbf5402b78d722e74f /src/corelib | |
parent | a7a70ad81a9a1f3cba5fca66c232e7d8560a2850 (diff) | |
download | Qt-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')
-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 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 diff --git a/src/corelib/global/qfeatures.txt b/src/corelib/global/qfeatures.txt index ec47883..a0928fc 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: ??? |