diff --git a/xcb/main.cpp b/xcb/main.cpp index cfc99b6b..2d2bd71b 100644 --- a/xcb/main.cpp +++ b/xcb/main.cpp @@ -29,7 +29,8 @@ QPlatformIntegration* DPlatformIntegrationPlugin::create(const QString& system, loadDXcb = false; } else if (system == "dxcb") { loadDXcb = true; - } else if (QString(qgetenv("XDG_CURRENT_DESKTOP")).toLower().startsWith("deepin")) { + } else if (QString(qgetenv("XDG_CURRENT_DESKTOP")).toLower().startsWith("deepin") || + (qgetenv("XDG_CURRENT_DESKTOP") == QByteArrayLiteral("DDE"))) { loadDXcb = true; }