当前位置:网站首页>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
边栏推荐
- About the professional ethics of programmers, let's talk about it from the way of craftsmanship and neatness
- OpenCV VideoCapture. Get() parameter details
- Web APIs DOM 时间对象
- China 1,4-cyclohexanedimethanol (CHDM) industry research and investment decision-making report (2022 Edition)
- BarcodeX(ActiveX打印控件) v5.3.0.80 免费版使用
- Report on technological progress and development prospects of solid oxide fuel cells in China (2022 Edition)
- 0 basic learning C language - digital tube
- Classification, function and usage of MySQL constraints
- 手写ABA遇到的坑
- Classic sql50 questions
猜你喜欢
Oracle control file and log file management
[Digital IC hand tearing code] Verilog burr free clock switching circuit | topic | principle | design | simulation
BarcodeX(ActiveX打印控件) v5.3.0.80 免费版使用
Management background --5, sub classification
硬件开发笔记(十): 硬件开发基本流程,制作一个USB转RS232的模块(九):创建CH340G/MAX232封装库sop-16并关联原理图元器件
数据处理技巧(7):MATLAB 读取数字字符串混杂的文本文件txt中的数据
在IPv6中 链路本地地址的优势
Notes de développement du matériel (10): flux de base du développement du matériel, fabrication d'un module USB à RS232 (9): création de la Bibliothèque d'emballage ch340g / max232 SOP - 16 et Associa
LeetCode刷题(十一)——顺序刷题51至55
LeetCode 练习——剑指 Offer 26. 树的子结构
随机推荐
Data processing skills (7): MATLAB reads the data in the text file TXT with mixed digital strings
Management background --3, modify classification
二分图判定
C # realizes crystal report binding data and printing 4-bar code
Attack and defense world ditf Misc
基於 QEMUv8 搭建 OP-TEE 開發環境
What are the interface tests? What are the general test points?
解决项目跨域问题
C # réalise la liaison des données du rapport Crystal et l'impression du Code à barres 4
ResNet-RS:谷歌领衔调优ResNet,性能全面超越EfficientNet系列 | 2021 arxiv
NetXpert XG2帮您解决“布线安装与维护”难题
ZABBIX proxy server and ZABBIX SNMP monitoring
qt quick项目offscreen模式下崩溃的问题处理
AI enterprise multi cloud storage architecture practice | Shenzhen potential technology sharing
C#實現水晶報錶綁定數據並實現打印4-條形碼
How does the uni admin basic framework close the creation of super administrator entries?
GPS from getting started to giving up (12), Doppler constant speed
Lora sync word settings
第4章:再谈类的加载器
A Mexican airliner bound for the United States was struck by lightning after taking off and then returned safely