本页内容

QNativeInterface Namespace

包含可用的原生接口。更多...

Header: #include <platformintegration.h>
Since: Qt 6.0

类

(since 6.2) struct QAndroidApplication
(since 6.0) struct QAndroidOffscreenSurface
(since 6.7) struct QAndroidScreen
(since 6.0) struct QCocoaGLContext
(since 6.11) struct QCocoaScreen
(since 6.0) struct QEGLContext
(since 6.0) struct QGLXContext
(since 6.0) struct QSGD3D11Texture
(since 6.6) struct QSGD3D12Texture
(since 6.0) struct QSGMetalTexture
(since 6.0) struct QSGOpenGLTexture
(since 6.0) struct QSGVulkanTexture
(since 6.0) struct QWGLContext
(since 6.5) struct QWaylandApplication
(since 6.7) struct QWaylandScreen
(since 6.7) struct QWindowsScreen
(since 6.2) struct QX11Application

详细说明

有关如何使用这些接口的文档,请参阅“本机接口概述”。

警告: 对于本机接口 API,不提供 源代码或二进制兼容性保证,这意味着使用这些接口的应用程序仅保证与开发时所基于的 Qt 版本兼容。

© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.