mirror of
https://gitee.com/spark-store-project/spark-store
synced 2025-06-05 14:45:58 +08:00
!114 feat: GPU enable
* Merge remote-tracking branch 'upstream/master' into dev * Merge remote-tracking branch 'upstream/dev' into dev * feat: enable GPU * !113 3.2.1 merge * !112 Now stop use mail to collect info * Merge remote-tracking branch 'upstream/dev' into dev * Merge branch 'dev' of gitee.com:uniartisan2018/spark-store into dev * feat: 清除网页缓存 * 文案修改 * update src/widget.ui. * feat: 星火应用商店检测更新
This commit is contained in:
parent
8741973cca
commit
e7680fe2a0
@ -6,4 +6,4 @@ Subject: spark-store_3.0.2: $(lsb_release -a | grep "Description" | sed -e "s#\t
|
||||
|
||||
$(uname -a)" | tee /tmp/spark-store-install/feedback.txt > /dev/null
|
||||
|
||||
curl -s --url "smtp://smtp.163.com" --mail-from "sparkstorefeedback@163.com" --mail-rcpt "sparkstorefeedback@163.com" --upload-file /tmp/spark-store-install/feedback.txt --user "sparkstorefeedback@163.com:YWYGLQNOPLWNNJJY"
|
||||
curl -s --url "smtp://smtp.163.com" --mail-from "${MAIL_FEEDBACK}" --mail-rcpt "${MAIL_FEEDBACK}" --upload-file /tmp/spark-store-install/feedback.txt --user "${MAIL_FEEDBACK}:${M}AIL_AUTH"
|
||||
|
@ -13,6 +13,10 @@ int main(int argc, char *argv[])
|
||||
DApplication::loadDXcbPlugin(); // 已废弃,但是对于非deepin桌面可以正常使用标题栏
|
||||
DApplication::setAttribute(Qt::AA_EnableHighDpiScaling); // 开启 Hidpi 支持
|
||||
// 程序内强制添加"-platformtheme deepin"参数喂给Qt让Qt正确使用Deepin主题修复各种奇怪样式问题
|
||||
|
||||
// 浏览器开启 GPU 支持
|
||||
qputenv("QTWEBENGINE_CHROMIUM_FLAGS", "--ignore-gpu-blacklist --enable-gpu-rasterization --enable-native-gpu-memory-buffers --enable-accelerated-video-decode");
|
||||
|
||||
QVector<char*> fakeArgs(argc + 2);
|
||||
fakeArgs[0] = argv[0];
|
||||
fakeArgs[1] = "-platformtheme";
|
||||
|
Loading…
x
Reference in New Issue
Block a user