当前位置:网站首页>Dealing with the crash of QT quick project in offscreen mode
Dealing with the crash of QT quick project in offscreen mode
2022-07-06 22:26:00 【Hua Weiyun】
Based on squish build qt I encountered a problem in the smoking project , When the test project is cut into off screen mode , contain qml Function page crash ;
The error stack is as follows :
```
(QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>))) [0x7fc925b3fa2b]
libqoffscreen.so(+0x14580) [0x7fc91a804580]
```
The solution is to set qml Soft rendering :
export QT_QPA_PLATFORM='offscreen'
export QMLSCENE_DEVICE='softwarecontext'
Reference resources :
https://stackoverflow.com/questions/52527672/crash-when-running-qt-application-on-ubuntu-server
https://stackoverflow.com/questions/33090346/is-there-any-way-to-use-qtwebengine-without-opengl
边栏推荐
- [leetcode daily clock in] 1020 Number of enclaves
- The nearest common ancestor of binary (search) tree ●●
- The SQL response is slow. What are your troubleshooting ideas?
- Management background --4, delete classification
- i.mx6ull搭建boa服务器详解及其中遇到的一些问题
- 十二、启动流程
- 2022-07-04 mysql的高性能数据库引擎stonedb在centos7.9编译及运行
- 【sdx62】WCN685X将bdwlan.bin和bdwlan.txt相互转化操作方法
- [sdx62] wcn685x will bdwlan Bin and bdwlan Txt mutual conversion operation method
- Embedded common computing artifact excel, welcome to recommend skills to keep the document constantly updated and provide convenience for others
猜你喜欢

Mise en place d'un environnement de développement OP - tee basé sur qemuv8
![[线性代数] 1.3 n阶行列式](/img/6e/54f3a994fc4c2c10c1036bee6715e8.gif)
[线性代数] 1.3 n阶行列式
![[leetcode daily clock in] 1020 Number of enclaves](/img/2d/3d12f20c8c73fb28044c01be633c99.jpg)
[leetcode daily clock in] 1020 Number of enclaves

如何用程序确认当前系统的存储模式?

Management background --2 Classification list

LeetCode 练习——剑指 Offer 26. 树的子结构

小常识:保险中的“保全”是什么?

Powerful domestic API management tool

2021 geometry deep learning master Michael Bronstein long article analysis

二叉(搜索)树的最近公共祖先 ●●
随机推荐
第4章:再谈类的加载器
Force buckle 575 Divide candy
NetXpert XG2帮您解决“布线安装与维护”难题
中国VOCs催化剂行业研究与投资战略报告(2022版)
Aardio - 利用customPlus库+plus构造一个多按钮组件
UDP编程
如何用程序确认当前系统的存储模式?
LeetCode 练习——剑指 Offer 26. 树的子结构
MySQL数据库基本操作-DML
Seata aggregates at, TCC, Saga and XA transaction modes to create a one-stop distributed transaction solution
Four data streams of grpc
插入排序与希尔排序
Inno Setup 打包及签名指南
Barcodex (ActiveX print control) v5.3.0.80 free version
重磅新闻 | Softing FG-200获得中国3C防爆认证 为客户现场测试提供安全保障
0 basic learning C language - digital tube
GNN, please deepen your network layer~
[MySQL] online DDL details
case 关键字后面的值有什么要求吗?
小程序系统更新提示,并强制小程序重启并使用新版本