On this page

QNativeInterface::QWaylandScreen Struct

Native interface to a screen on Wayland. More...

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

Public Functions

QWaylandScreen()
QWaylandScreen(const QNativeInterface::QWaylandScreen &)
QWaylandScreen(QNativeInterface::QWaylandScreen &&)
virtual wl_output *output() const = 0
QNativeInterface::QWaylandScreen &operator=(QNativeInterface::QWaylandScreen &&)
QNativeInterface::QWaylandScreen &operator=(const QNativeInterface::QWaylandScreen &)

Detailed Description

Accessed through QScreen::nativeInterface().

Member Function Documentation

[constexpr noexcept default] QWaylandScreen::QWaylandScreen()

Default-constructs an instance of QWaylandScreen.

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

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

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

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

[pure virtual] wl_output *QWaylandScreen::output() const

Returns the underlying wl_output of this QScreen.

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

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

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

Copy-assigns other to this QWaylandScreen 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.