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.cpp | |
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.cpp')
-rw-r--r-- | src/widgets/graphicsview/qgraphicsgridlayoutengine.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/widgets/graphicsview/qgraphicsgridlayoutengine.cpp b/src/widgets/graphicsview/qgraphicsgridlayoutengine.cpp index 6de41c308b..605411bd6d 100644 --- a/src/widgets/graphicsview/qgraphicsgridlayoutengine.cpp +++ b/src/widgets/graphicsview/qgraphicsgridlayoutengine.cpp @@ -40,6 +40,9 @@ ****************************************************************************/ #include "qgraphicsgridlayoutengine_p.h" + +#ifndef QT_NO_GRAPHICSVIEW + #include "qgraphicslayoutitem_p.h" #include "qgraphicslayout_p.h" #include "qgraphicswidget.h" @@ -99,3 +102,5 @@ int QGraphicsGridLayoutEngine::stretchFactor(QGraphicsLayoutItem *layoutItem, Qt QT_END_NAMESPACE + +#endif // QT_NO_GRAPHICSVIEW |