summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorJarek Kobus <jaroslaw.kobus@qt.io>2020-03-05 09:36:49 +0100
committerJarek Kobus <jaroslaw.kobus@qt.io>2020-03-06 21:09:48 +0100
commit50d2acdc93b4de2ba56eb67787e2bdcb21dd4bea (patch)
tree112fe07180c2a24bec970510c7b2432d57319757 /examples
parentccee938b5193ff90a6fecc1f4635b856a24718bd (diff)
Add default arguments to QPainterPath methods using transform
Fixes: QTBUG-82602 Change-Id: Id82f145ffb33e6d4ef9b81282ad14657b1c8fbd0 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'examples')
-rw-r--r--examples/opengl/paintedwindow/paintedwindow.cpp1
-rw-r--r--examples/opengl/qopenglwindow/main.cpp1
-rw-r--r--examples/qpa/qrasterwindow/main.cpp1
-rw-r--r--examples/widgets/painting/basicdrawing/renderarea.cpp1
-rw-r--r--examples/widgets/widgets/styles/norwegianwoodstyle.cpp1
5 files changed, 5 insertions, 0 deletions
diff --git a/examples/opengl/paintedwindow/paintedwindow.cpp b/examples/opengl/paintedwindow/paintedwindow.cpp
index 799431a765..94aa215288 100644
--- a/examples/opengl/paintedwindow/paintedwindow.cpp
+++ b/examples/opengl/paintedwindow/paintedwindow.cpp
@@ -54,6 +54,7 @@
#include <QOpenGLContext>
#include <QOpenGLPaintDevice>
#include <QPainter>
+#include <QPainterPath>
#include <QScreen>
#include <QTimer>
diff --git a/examples/opengl/qopenglwindow/main.cpp b/examples/opengl/qopenglwindow/main.cpp
index 8932269ddf..7ce4dd0977 100644
--- a/examples/opengl/qopenglwindow/main.cpp
+++ b/examples/opengl/qopenglwindow/main.cpp
@@ -51,6 +51,7 @@
#include <QOpenGLWindow>
#include <QScreen>
#include <QPainter>
+#include <QPainterPath>
#include <QGuiApplication>
#include <QMatrix4x4>
#include <QStaticText>
diff --git a/examples/qpa/qrasterwindow/main.cpp b/examples/qpa/qrasterwindow/main.cpp
index 958da2205a..699c950c27 100644
--- a/examples/qpa/qrasterwindow/main.cpp
+++ b/examples/qpa/qrasterwindow/main.cpp
@@ -50,6 +50,7 @@
#include <QRasterWindow>
#include <QPainter>
+#include <QPainterPath>
#include <QGuiApplication>
#include <QMatrix4x4>
#include <QTimer>
diff --git a/examples/widgets/painting/basicdrawing/renderarea.cpp b/examples/widgets/painting/basicdrawing/renderarea.cpp
index a1437dea8f..09d610ee95 100644
--- a/examples/widgets/painting/basicdrawing/renderarea.cpp
+++ b/examples/widgets/painting/basicdrawing/renderarea.cpp
@@ -51,6 +51,7 @@
#include "renderarea.h"
#include <QPainter>
+#include <QPainterPath>
//! [0]
RenderArea::RenderArea(QWidget *parent)
diff --git a/examples/widgets/widgets/styles/norwegianwoodstyle.cpp b/examples/widgets/widgets/styles/norwegianwoodstyle.cpp
index 31150cd994..34a63e0eea 100644
--- a/examples/widgets/widgets/styles/norwegianwoodstyle.cpp
+++ b/examples/widgets/widgets/styles/norwegianwoodstyle.cpp
@@ -52,6 +52,7 @@
#include <QComboBox>
#include <QPainter>
+#include <QPainterPath>
#include <QPushButton>
#include <QStyleFactory>