1 year ago

#186558

test-img

Nikolay

Is it safe to force QT_QPA_PLATFORM=xcb on Linux Desktop?

I recently found that our Qt application uses "own" window frame instead of the system frame on Ubuntu 21.10. As a result, the look is weird, especially in the dark theme.

The investigation shown that is a known Qt+Gnome+Wayland issue. It can be easily fixed if I run the app with QT_QPA_PLATFORM=xcb.

So my question is, is it safe to just set QT_QPA_PLATFORM to xcb in the application start script for all users. Do I have to expect some issues if I do so? If yes, what kind of issues?

qt

gnome

xcb

wayland

0 Answers

Your Answer

Accepted video resources