From e03a30ecec099e8b5dbe50ebde8d4bb56413eb81 Mon Sep 17 00:00:00 2001 From: Mitch Curtis Date: Mon, 9 Mar 2020 11:12:20 +0100 Subject: Add missing QPainterPath includes .../qsgadaptationlayer_p.h(500): error C2079: 'QSGDistanceFieldGlyphCache::GlyphData::path' uses undefined class 'QPainterPath' .../splineeditor.cpp(168): error C2079: 'path' uses undefined class 'QPainterPath' Change-Id: I5f905aa31b24f71c65889047065ab43725fb6733 Reviewed-by: Andy Shaw --- tools/qmleasing/splineeditor.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'tools') diff --git a/tools/qmleasing/splineeditor.cpp b/tools/qmleasing/splineeditor.cpp index 3657fe3f27..e4d4562bee 100644 --- a/tools/qmleasing/splineeditor.cpp +++ b/tools/qmleasing/splineeditor.cpp @@ -30,6 +30,7 @@ #include "segmentproperties.h" #include +#include #include #include #include -- cgit v1.2.3 From 508a8baf850dbad59fc0578356d1a9327f27e911 Mon Sep 17 00:00:00 2001 From: Ulf Hermann Date: Mon, 9 Mar 2020 13:52:20 +0100 Subject: Add missing QPainterPath includes Apparently QPainterPath was transitively included from some other header before. With current qtbase, it is not anymore and the old code fails to compile. Change-Id: I2de3cd72e3cd33a4537f8156298fc757182907fa Reviewed-by: Fabian Kosmale --- tools/qmleasing/splineeditor.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'tools') diff --git a/tools/qmleasing/splineeditor.cpp b/tools/qmleasing/splineeditor.cpp index e4d4562bee..c1afbbb441 100644 --- a/tools/qmleasing/splineeditor.cpp +++ b/tools/qmleasing/splineeditor.cpp @@ -36,6 +36,7 @@ #include #include #include +#include const int canvasWidth = 640; const int canvasHeight = 320; -- cgit v1.2.3