summaryrefslogtreecommitdiffstats
path: root/examples/quick
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@qt.io>2020-09-11 11:16:07 +0200
committerLars Knoll <lars.knoll@qt.io>2020-09-13 08:15:15 +0200
commitb030b4a1f2a0fc5476839ee14f1664b65df2b0ae (patch)
tree7acde41815767002a74d23011385deea88948174 /examples/quick
parent18819494ccc1afe5347babaea82fb03486987dc9 (diff)
examples: include QQuickWindow in squircle headers
This is required because QQuickWindow is passed as a signal parameter. Change-Id: Ied10beded7253558d080af4806d1b95880bf2d98 Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'examples/quick')
-rw-r--r--examples/quick/scenegraph/d3d11underqml/d3d11squircle.h1
-rw-r--r--examples/quick/scenegraph/metalunderqml/metalsquircle.h1
-rw-r--r--examples/quick/scenegraph/openglunderqml/squircle.h1
-rw-r--r--examples/quick/scenegraph/vulkanunderqml/vulkansquircle.h1
4 files changed, 4 insertions, 0 deletions
diff --git a/examples/quick/scenegraph/d3d11underqml/d3d11squircle.h b/examples/quick/scenegraph/d3d11underqml/d3d11squircle.h
index 4be3671d1c..f009dd4248 100644
--- a/examples/quick/scenegraph/d3d11underqml/d3d11squircle.h
+++ b/examples/quick/scenegraph/d3d11underqml/d3d11squircle.h
@@ -52,6 +52,7 @@
#define D3D11SQUIRCLE_H
#include <QtQuick/QQuickItem>
+#include <QtQuick/QQuickWindow>
class SquircleRenderer;
diff --git a/examples/quick/scenegraph/metalunderqml/metalsquircle.h b/examples/quick/scenegraph/metalunderqml/metalsquircle.h
index 18db7d45f3..6b3af6994c 100644
--- a/examples/quick/scenegraph/metalunderqml/metalsquircle.h
+++ b/examples/quick/scenegraph/metalunderqml/metalsquircle.h
@@ -52,6 +52,7 @@
#define METALSQUIRCLE_H
#include <QtQuick/QQuickItem>
+#include <QtQuick/QQuickWindow>
class SquircleRenderer;
diff --git a/examples/quick/scenegraph/openglunderqml/squircle.h b/examples/quick/scenegraph/openglunderqml/squircle.h
index ecd92161fc..c0a8712603 100644
--- a/examples/quick/scenegraph/openglunderqml/squircle.h
+++ b/examples/quick/scenegraph/openglunderqml/squircle.h
@@ -52,6 +52,7 @@
#define SQUIRCLE_H
#include <QtQuick/QQuickItem>
+#include <QtQuick/QQuickWindow>
#include <QOpenGLShaderProgram>
#include <QOpenGLFunctions>
diff --git a/examples/quick/scenegraph/vulkanunderqml/vulkansquircle.h b/examples/quick/scenegraph/vulkanunderqml/vulkansquircle.h
index 16feeacb5b..fd0114535f 100644
--- a/examples/quick/scenegraph/vulkanunderqml/vulkansquircle.h
+++ b/examples/quick/scenegraph/vulkanunderqml/vulkansquircle.h
@@ -52,6 +52,7 @@
#define VULKANSQUIRCLE_H
#include <QtQuick/QQuickItem>
+#include <QtQuick/QQuickWindow>
class SquircleRenderer;