QNativeInterface Namespace

包含可用的本地接口。更多

Header: #include <QNativeInterface>
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.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 版本上运行。

© 2025 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.