adjust: loong64 auto no sandbox

This commit is contained in:
2024-04-29 17:27:21 +08:00
parent 35b4cdabd0
commit d103225d92

View File

@@ -150,7 +150,9 @@ int main(int argc, char *argv[])
qputenv("QTWEBENGINE_CHROMIUM_FLAGS", "--no-sandbox");
#endif
#ifdef __loongarch__
qputenv("QTWEBENGINE_CHROMIUM_FLAGS", "--no-sandbox");
#endif
/**
* NOTE: https://zhuanlan.zhihu.com/p/550285855
* 避免 wayland 环境下从 QtWebEngine 后退回到 QWidget 时黑屏闪烁