|
@@ -1996,7 +1996,8 @@ static int run_program(fstream &logFile, int argc, char *argv[])
|
|
if (platform_theme && strcmp(platform_theme, "qt5ct") == 0)
|
|
if (platform_theme && strcmp(platform_theme, "qt5ct") == 0)
|
|
unsetenv("QT_QPA_PLATFORMTHEME");
|
|
unsetenv("QT_QPA_PLATFORMTHEME");
|
|
|
|
|
|
-#if defined(ENABLE_WAYLAND) && defined(USE_XDG)
|
|
|
|
|
|
+#if defined(ENABLE_WAYLAND) && defined(USE_XDG) && \
|
|
|
|
+ QT_VERSION < QT_VERSION_CHECK(6, 3, 0)
|
|
/* NOTE: Qt doesn't use the Wayland platform on GNOME, so we have to
|
|
/* NOTE: Qt doesn't use the Wayland platform on GNOME, so we have to
|
|
* force it using the QT_QPA_PLATFORM env var. It's still possible to
|
|
* force it using the QT_QPA_PLATFORM env var. It's still possible to
|
|
* use other QPA platforms using this env var, or the -platform command
|
|
* use other QPA platforms using this env var, or the -platform command
|