diff options
author | Sérgio Martins <sergio.martins@kdab.com> | 2014-02-08 00:11:56 +0000 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-02-11 20:59:15 +0100 |
commit | 63cf8ad33a4671aee35ac995bd34e83b1d863ac4 (patch) | |
tree | b506c4c3ecab89be86601309c3e72889e7858157 /src/widgets/graphicsview/qgraphicsgridlayoutengine_p.h | |
parent | 34dba9261ec0446312a28056af90c0b32944ec9d (diff) |
Fix build with QT_NO_GRAPHICSVIEW
Change-Id: I81cfed124a2e9e1c46c966c4819e89df5abd4f74
Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
Diffstat (limited to 'src/widgets/graphicsview/qgraphicsgridlayoutengine_p.h')
-rw-r--r-- | src/widgets/graphicsview/qgraphicsgridlayoutengine_p.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/widgets/graphicsview/qgraphicsgridlayoutengine_p.h b/src/widgets/graphicsview/qgraphicsgridlayoutengine_p.h index 1e987e30d2..1338114d96 100644 --- a/src/widgets/graphicsview/qgraphicsgridlayoutengine_p.h +++ b/src/widgets/graphicsview/qgraphicsgridlayoutengine_p.h @@ -44,6 +44,8 @@ #include <QtGui/private/qgridlayoutengine_p.h> +#ifndef QT_NO_GRAPHICSVIEW + #include <QtWidgets/qsizepolicy.h> #include <QtWidgets/qstyle.h> #include <QtWidgets/qstyleoption.h> @@ -122,4 +124,6 @@ public: QT_END_NAMESPACE +#endif // QT_NO_GRAPHICSVIEW + #endif // QGRAPHICSGRIDLAYOUTENGINE_P_H |