diff options
author | Tim Jenssen <tim.jenssen@qt.io> | 2020-03-18 18:51:42 +0100 |
---|---|---|
committer | Tim Jenssen <tim.jenssen@qt.io> | 2020-03-18 17:59:56 +0000 |
commit | a72acde713e44f398c2119995eae16a71b614d17 (patch) | |
tree | 968dcb4fc12685f3527653650c523c5b0c206dd9 /src/plugins/qmldesigner/components/timelineeditor | |
parent | 3e86ed81d9ab4be08abae231d2ba16489a335310 (diff) |
fix QPainterPath against Qt 5.15.0
Change-Id: I08aaf6886b04407f1e52ca4f56607c81fccec85c
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
Diffstat (limited to 'src/plugins/qmldesigner/components/timelineeditor')
4 files changed, 5 insertions, 1 deletions
diff --git a/src/plugins/qmldesigner/components/timelineeditor/easingcurve.h b/src/plugins/qmldesigner/components/timelineeditor/easingcurve.h index b9868a2db2..a9cd061d77 100644 --- a/src/plugins/qmldesigner/components/timelineeditor/easingcurve.h +++ b/src/plugins/qmldesigner/components/timelineeditor/easingcurve.h @@ -29,7 +29,7 @@ #include <QMetaType> #include <QPointF> -QT_FORWARD_DECLARE_CLASS(QPainterPath); +QT_FORWARD_DECLARE_CLASS(QPainterPath) namespace QmlDesigner { diff --git a/src/plugins/qmldesigner/components/timelineeditor/timelineitem.cpp b/src/plugins/qmldesigner/components/timelineeditor/timelineitem.cpp index 95c0137766..3b7f8a2fe0 100644 --- a/src/plugins/qmldesigner/components/timelineeditor/timelineitem.cpp +++ b/src/plugins/qmldesigner/components/timelineeditor/timelineitem.cpp @@ -40,6 +40,7 @@ #include <QCursor> #include <QGraphicsView> #include <QPainter> +#include <QPainterPath> #include <cmath> diff --git a/src/plugins/qmldesigner/components/timelineeditor/timelineitem.h b/src/plugins/qmldesigner/components/timelineeditor/timelineitem.h index 917d48d9c6..9d8bd9493e 100644 --- a/src/plugins/qmldesigner/components/timelineeditor/timelineitem.h +++ b/src/plugins/qmldesigner/components/timelineeditor/timelineitem.h @@ -31,6 +31,8 @@ #include <QGraphicsWidget> #include <QTimer> +QT_FORWARD_DECLARE_CLASS(QPainterPath) + namespace QmlDesigner { class TimelineItem : public QGraphicsWidget diff --git a/src/plugins/qmldesigner/components/timelineeditor/timelinesectionitem.cpp b/src/plugins/qmldesigner/components/timelineeditor/timelinesectionitem.cpp index 7549e741bd..d8d34fe1d1 100644 --- a/src/plugins/qmldesigner/components/timelineeditor/timelinesectionitem.cpp +++ b/src/plugins/qmldesigner/components/timelineeditor/timelinesectionitem.cpp @@ -52,6 +52,7 @@ #include <QHBoxLayout> #include <QMenu> #include <QPainter> +#include <QPainterPath> #include <QGraphicsView> |