<< to CrossControl homepage

Support & Service Center

Full screen applications on Qt 5.9.4

Printer-friendly versionPrinter-friendly versionPDF versionPDF version

A bug in QtWayland 5.9.4 affects how Qt sends fullscreen requests to Wayland. As a result of this bug, functions such as QMainWindow.showFullscreen() does not make the application full screen - only frameless. In order to bypass the bug, the application’s resolution should be fixed to that of the screen. For QWidget based applications, do the following:

QMainWindow view;
view.resize(1280, 800);
A similar approach can be used for QML applications.
Applies to version: