mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-27 02:00:41 +00:00
wayland: build fix on older qt versions
This commit is contained in:
parent
2f1dd3e84f
commit
a13b0f090d
@ -4235,9 +4235,11 @@ static void* ui_application_qt_initialize(void)
|
||||
#ifdef Q_OS_UNIX
|
||||
setlocale(LC_NUMERIC, "C");
|
||||
#ifdef HAVE_WAYLAND
|
||||
#if (QT_VERSION >= QT_VERSION_CHECK(5, 7, 0))
|
||||
// This needs to match the name of the .desktop file in order for windows to be correctly associated on Wayland
|
||||
ui_application.app->setDesktopFileName(WAYLAND_APP_ID);
|
||||
#endif
|
||||
#endif
|
||||
#endif
|
||||
{
|
||||
/* Can't declare the pixmap at the top, because: "QPixmap: Must construct a QGuiApplication before a QPixmap" */
|
||||
|
Loading…
Reference in New Issue
Block a user