summaryrefslogtreecommitdiffstats
path: root/src/widgets/graphicsview/qgraphicsitemanimation.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/widgets/graphicsview/qgraphicsitemanimation.h')
-rw-r--r--src/widgets/graphicsview/qgraphicsitemanimation.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/widgets/graphicsview/qgraphicsitemanimation.h b/src/widgets/graphicsview/qgraphicsitemanimation.h
index f02e0ac793..a819acc880 100644
--- a/src/widgets/graphicsview/qgraphicsitemanimation.h
+++ b/src/widgets/graphicsview/qgraphicsitemanimation.h
@@ -43,11 +43,10 @@
#include <QtWidgets/qtwidgetsglobal.h>
#include <QtCore/qobject.h>
-#if !defined(QT_NO_GRAPHICSVIEW)
+QT_REQUIRE_CONFIG(graphicsview);
QT_BEGIN_NAMESPACE
-
class QGraphicsItem;
class QMatrix;
class QPointF;
@@ -110,5 +109,4 @@ private:
QT_END_NAMESPACE
-#endif // QT_NO_GRAPHICSVIEW
#endif