mirror of
https://gitee.com/spark-store-project/spark-store
synced 2025-07-03 12:15:59 +08:00
commit
85ce641fef
@ -144,6 +144,8 @@ int main(int argc, char *argv[])
|
||||
// 浏览器开启 GPU 支持
|
||||
// qputenv("QTWEBENGINE_CHROMIUM_FLAGS", "--disable-features=UseModernMediaControls");
|
||||
// qputenv("QTWEBENGINE_CHROMIUM_FLAGS", "--disable-web-security");
|
||||
// 全平台软件渲染Webkit
|
||||
qputenv("QTWEBENGINE_CHROMIUM_FLAGS", "--disable-gpu");
|
||||
#if defined (__sw_64__) || defined (__loongarch__)
|
||||
qputenv("QTWEBENGINE_CHROMIUM_FLAGS", "--no-sandbox");
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user