summaryrefslogtreecommitdiff
path: root/examples/svg
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@qt.io>2020-03-10 12:53:44 +0100
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2020-03-10 14:22:51 +0100
commit8dbfbe633ee7cd1853354830872fc1c60f9e2139 (patch)
tree53cb056021a9b908099bb492bf7518605f7f1e9b /examples/svg
parent215a6642a48b1272a54ce2d125346fa0b8c89847 (diff)
downloadqtsvg-8dbfbe633ee7cd1853354830872fc1c60f9e2139.tar.gz
Fix build with recent qtbasev5.15.0-beta2
We need to include QPainterPath when using it. Change-Id: I9f84aa3185de05d410e8355a5c4f6a556dbac5c0 Fixes: QTBUG-82788 Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
Diffstat (limited to 'examples/svg')
-rw-r--r--examples/svg/svggenerator/displaywidget.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/svg/svggenerator/displaywidget.h b/examples/svg/svggenerator/displaywidget.h
index f999e2a..029872a 100644
--- a/examples/svg/svggenerator/displaywidget.h
+++ b/examples/svg/svggenerator/displaywidget.h
@@ -53,6 +53,7 @@
#include <QColor>
#include <QHash>
+#include <QPainterPath>
#include <QWidget>
//! [DisplayWidget class definition]