On this page

QNativeInterface::QAndroidOffscreenSurface Struct

Native interface to a offscreen surface on Android. More...

Header: #include <QOffscreenSurface>
CMake: find_package(Qt6 REQUIRED COMPONENTS Gui)
target_link_libraries(mytarget PRIVATE Qt6::Gui)
qmake: QT += gui
Since: Qt 6.0

Public Functions

QAndroidOffscreenSurface()
QAndroidOffscreenSurface(const QNativeInterface::QAndroidOffscreenSurface &)
QAndroidOffscreenSurface(QNativeInterface::QAndroidOffscreenSurface &&)
QNativeInterface::QAndroidOffscreenSurface &operator=(QNativeInterface::QAndroidOffscreenSurface &&)
QNativeInterface::QAndroidOffscreenSurface &operator=(const QNativeInterface::QAndroidOffscreenSurface &)

Detailed Description

Accessed through QOffscreenSurface::nativeInterface().

Member Function Documentation

[constexpr noexcept default] QAndroidOffscreenSurface::QAndroidOffscreenSurface()

Default-constructs an instance of QAndroidOffscreenSurface.

[delete] QAndroidOffscreenSurface::QAndroidOffscreenSurface(const QNativeInterface::QAndroidOffscreenSurface &)

Copy-constructs an instance of QAndroidOffscreenSurface. This function is deleted.

[delete] QAndroidOffscreenSurface::QAndroidOffscreenSurface(QNativeInterface::QAndroidOffscreenSurface &&)

Move-constructs an instance of QAndroidOffscreenSurface. This function is deleted.

[delete] QNativeInterface::QAndroidOffscreenSurface &QAndroidOffscreenSurface::operator=(QNativeInterface::QAndroidOffscreenSurface &&)

Move-assigns other to this QAndroidOffscreenSurface instance. This function is deleted.

[delete] QNativeInterface::QAndroidOffscreenSurface &QAndroidOffscreenSurface::operator=(const QNativeInterface::QAndroidOffscreenSurface &)

Copy-assigns other to this QAndroidOffscreenSurface instance. This function is deleted.

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