当前位置:网站首页>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
边栏推荐
- 2020 Bioinformatics | GraphDTA: predicting drug target binding affinity with graph neural networks
- 做接口测试都测什么?有哪些通用测试点?
- 2022-07-04 mysql的高性能数据库引擎stonedb在centos7.9编译及运行
- 小常识:保险中的“保全”是什么?
- NetXpert XG2帮您解决“布线安装与维护”难题
- AI enterprise multi cloud storage architecture practice | Shenzhen potential technology sharing
- Inno Setup 打包及签名指南
- [10:00 public class]: basis and practice of video quality evaluation
- RESNET rs: Google takes the lead in tuning RESNET, and its performance comprehensively surpasses efficientnet series | 2021 arXiv
- Support multiple API versions in flask
猜你喜欢

labelimg的安装与使用

Barcodex (ActiveX print control) v5.3.0.80 free version

Assembly and Interface Technology Experiment 6 - ADDA conversion experiment, AD acquisition system in interrupt mode

【数字IC手撕代码】Verilog无毛刺时钟切换电路|题目|原理|设计|仿真

CCNA-思科网络 EIGRP协议

2022年6月国产数据库大事记-墨天轮
Learn the principle of database kernel from Oracle log parsing

Data processing skills (7): MATLAB reads the data in the text file TXT with mixed digital strings

Management background --2 Classification list

软考高级(信息系统项目管理师)高频考点:项目质量管理
随机推荐
Shortcut keys in the terminal
Heavyweight news | softing fg-200 has obtained China 3C explosion-proof certification to provide safety assurance for customers' on-site testing
Data storage (1)
Unity3D学习笔记6——GPU实例化(1)
ZABBIX proxy server and ZABBIX SNMP monitoring
HDR image reconstruction from a single exposure using deep CNNs阅读札记
Chapter 3: detailed explanation of class loading process (class life cycle)
Classic sql50 questions
基于 QEMUv8 搭建 OP-TEE 开发环境
硬件開發筆記(十): 硬件開發基本流程,制作一個USB轉RS232的模塊(九):創建CH340G/MAX232封裝庫sop-16並關聯原理圖元器件
Oracle control file and log file management
GNN, please deepen your network layer~
在IPv6中 链路本地地址的优势
自制J-Flash烧录工具——Qt调用jlinkARM.dll方式
AI 企业多云存储架构实践 | 深势科技分享
2500 common Chinese characters + 130 common Chinese and English characters
[MySQL] online DDL details
Force deduction question 500, keyboard line, JS implementation
QT | UDP broadcast communication, simple use case
Mysql database basic operations DML