- Qt 6.12
- Qt GUI
- C++ Classes
- QWaylandScreen
- Qt 6.12.0 Reference Documentation

# QNativeInterface::QWaylandScreen Struct

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

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

- List of all members, including inherited members
- QWaylandScreen is part of Native Interfaces.

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