fix: unable to run in deepin without dxcb plugin

QT_QPA_PLATFORM should be dxcb;xcb on x11 platform
fallback to xcb when dxcb is unavailable

Log: modify QT_QPA_PLATFORM; fix wrong QTWEBENGINE_CHROMIUM_FLAGS
This commit is contained in:
2025-04-28 14:11:35 +08:00
parent 4f294cee8f
commit b4935edf0a
2 changed files with 9 additions and 11 deletions

View File

@@ -198,7 +198,7 @@ void Utils::setQPAPlatform()
// }
else
{
qputenv("QT_QPA_PLATFORM", "dxcb");
qputenv("QT_QPA_PLATFORM", "dxcb;xcb");
}
}