From 0e317d2ff5927596fb313a27535b4789b803b72c Mon Sep 17 00:00:00 2001 From: xionglinlin Date: Sat, 14 Dec 2024 13:33:03 +0800 Subject: [PATCH] fix: the environment variable is set incorrectly Change the colon to a semicolon pms: Bug-294943 --- src/dde-session/environmentsmanager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dde-session/environmentsmanager.cpp b/src/dde-session/environmentsmanager.cpp index 33c196e..32c1b72 100644 --- a/src/dde-session/environmentsmanager.cpp +++ b/src/dde-session/environmentsmanager.cpp @@ -88,7 +88,7 @@ void EnvironmentsManager::createGeneralEnvironments() QByteArray sessionType = qgetenv("XDG_SESSION_TYPE"); if (sessionType == "x11") { - m_envMap.insert("QT_QPA_PLATFORM", "dxcb:xcb"); + m_envMap.insert("QT_QPA_PLATFORM", "dxcb;xcb"); } else if (sessionType == "wayland") { m_envMap.insert("QT_QPA_PLATFORM", "wayland;xcb"); m_envMap.insert("QT_WAYLAND_SHELL_INTEGRATION", "xdg-shell;wl-shell;ivi-shell;qt-shell;");