We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2f1dd3e commit a13b0f0Copy full SHA for a13b0f0
1 file changed
ui/drivers/ui_qt.cpp
@@ -4235,9 +4235,11 @@ static void* ui_application_qt_initialize(void)
4235
#ifdef Q_OS_UNIX
4236
setlocale(LC_NUMERIC, "C");
4237
#ifdef HAVE_WAYLAND
4238
+#if (QT_VERSION >= QT_VERSION_CHECK(5, 7, 0))
4239
// This needs to match the name of the .desktop file in order for windows to be correctly associated on Wayland
4240
ui_application.app->setDesktopFileName(WAYLAND_APP_ID);
4241
#endif
4242
+#endif
4243
4244
{
4245
/* Can't declare the pixmap at the top, because: "QPixmap: Must construct a QGuiApplication before a QPixmap" */
0 commit comments