summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qwindow.h
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2021-06-01 15:22:04 +0200
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2021-06-07 12:17:46 +0000
commitcafdb8d3ee1195b8ace5556e52bb992d95d788ab (patch)
tree55175dcb87e3cee9f6243126d4ff41c323977bd0 /src/gui/kernel/qwindow.h
parent19a154f57b9141e5cbe7dba3919a2acdfa91525a (diff)
Expose the native interfaces of QScreen/QWindow
Add the macros. Task-number: QTBUG-84220 Change-Id: Ica23b9e4d5c1ca072acb5356e6f2be28d5199fa6 Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Diffstat (limited to 'src/gui/kernel/qwindow.h')
-rw-r--r--src/gui/kernel/qwindow.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/kernel/qwindow.h b/src/gui/kernel/qwindow.h
index 14d8ba1810..6200727789 100644
--- a/src/gui/kernel/qwindow.h
+++ b/src/gui/kernel/qwindow.h
@@ -47,6 +47,7 @@
#include <QtCore/QRect>
#include <QtCore/qnamespace.h>
+#include <QtCore/qnativeinterface.h>
#include <QtGui/qsurface.h>
#include <QtGui/qsurfaceformat.h>
@@ -283,6 +284,8 @@ public:
QVulkanInstance *vulkanInstance() const;
#endif
+ QT_DECLARE_NATIVE_INTERFACE_ACCESSOR
+
public Q_SLOTS:
Q_REVISION(2, 1) void requestActivate();