QNativeInterface Namespace

QNativeInterface 命名空间包括模块 QtGui 中的以下元素。整个命名空间在 QtPlatformIntegration 模块中有详细说明。 here.

(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 QWGLContext
(since 6.5) struct QWaylandApplication
(since 6.7) struct QWaylandScreen
(since 6.7) struct QWindowsScreen
(since 6.2) struct QX11Application

QAndroidOffscreenSurface

Android 离屏界面的本地接口。更多

QAndroidScreen

屏幕的本地接口。更多

QCocoaGLContext

MacOS 上 NSOpenGLContext 的本地接口。更多

QEGLContext

EGL 上下文的本地接口。更多

QGLXContext

GLX 上下文的本地接口。更多

QWGLContext

Windows 下 WGL 上下文的本地接口。更多

QWaylandApplication

Wayland 应用程序的本地接口。更多

QWaylandScreen

Wayland 屏幕的本地接口。更多

QWindowsScreen

屏幕的本地接口。更多

QX11Application

X11 应用程序的本地接口。更多

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