Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions src/app/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,11 @@ int main(int argc, char** argv)
if (qEnvironmentVariable("QT_QPA_PLATFORM") != "offscreen") {
qputenv("QT_QPA_PLATFORMTHEME", "gtk3");
}

//! NOTE Forced X11, with Wayland there are a number of problems now
if (qEnvironmentVariable("QT_QPA_PLATFORM") == "") {
qputenv("QT_QPA_PLATFORM", "xcb");
}
#endif

#ifdef Q_OS_WIN
Expand Down
Loading