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/qgraphicslayoutstyleinfo.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/qgraphicslayoutstyleinfo.cpp')
-rw-r--r-- | src/widgets/graphicsview/qgraphicslayoutstyleinfo.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/widgets/graphicsview/qgraphicslayoutstyleinfo.cpp b/src/widgets/graphicsview/qgraphicslayoutstyleinfo.cpp index 3270fc20a3..d60fd6059e 100644 --- a/src/widgets/graphicsview/qgraphicslayoutstyleinfo.cpp +++ b/src/widgets/graphicsview/qgraphicslayoutstyleinfo.cpp @@ -38,7 +38,11 @@ ** $QT_END_LICENSE$ ** ****************************************************************************/ + #include "qgraphicslayoutstyleinfo_p.h" + +#ifndef QT_NO_GRAPHICSVIEW + #include "qgraphicslayout_p.h" #include "qgraphicswidget.h" #include <QtWidgets/qstyle.h> @@ -106,3 +110,5 @@ QStyle *QGraphicsLayoutStyleInfo::style() const } QT_END_NAMESPACE + +#endif // QT_NO_GRAPHICSVIEW |