Qt Wayland

Display server

To utilize Wayland for Qt-based applications install the qt5-wayland and qt6-wayland packages. Optionally, also install qt5ct and qt6ct if you're on a non-KDE desktop environment.

Then set the QT_QPA_PLATFORM environment variable to:

TIP: It may prove useful to set multiple values separated by ;. In case one is not available, the next one is used.

QT_QPA_PLATFORM="wayland;qt5ct;xcb"

Use KDE dialogs

If some applications (e.g. Telegram) don't use default KDE dialogs, set the following environment variable:

QT_QPA_PLATFORMTHEME="flatpak"

Revision #1
Created 12 August 2022 14:49:25 by Sebin
Updated 26 March 2023 03:28:21 by Sebin