- 积分
- 59
贡献368
飞刀118 FD
注册时间2022-3-29
在线时间10 小时
扫一扫,手机访问本帖
|
本帖最后由 13813561956 于 2022-7-15 09:28 编辑
现象是这样的, 我用Qt编写了一个程序, 显示分辨率是1920*1080的, qt程序的主窗体一直是最大化, 这时把显示器电源断电,然后再打开电源, 显示都正常的, 但如果Qt程序 打开一个设置对话框,界面尺寸不是1920*1080的, 这时把显示器电源一关, 就提示Segmentation fault, 这是什么原因?
QStandardPaths: wrong permissions on runtime directory /var/run, 7755 instead of 7700
QDevPA22S 0x7fa1738010
QObject::connect: No such slot MainWindow::timedraw_timeout()
QObject::connect: (receiver name: 'MainWindow')
Could not parse stylesheet of object QLabel(0x29bb54f0, name = "lbdepth")
qt.qpa.wayland: No shell integration named "xdg-shell" found
[ 167.351667] dwhdmi-rockchip fe0a0000.hdmi: failed to get edid
[ 174.541871] dwhdmi-rockchip fe0a0000.hdmi: failed to get edid
qt.qpa.wayland: Ignoring unexpected wl_su**ce.leave received for output with id: 38 screen name: "HDMI-A-1" screen model: "unknown" This is most likely a bug in the compositor.
slot_data_startconnect 0x7f9b815190
Segmentation fault
[root@mengvm:/usr/local/meng]# [ 294.165217] dwhdmi-rockchip fe0a0000.hdmi: failed to get edid
|
|