Firefly开源社区

打印 上一主题 下一主题

[Linux] walyland的2个错误

50

积分

0

威望

0

贡献

技术小白

积分
50

walyland的2个错误

发表于 2022-8-11 12:45:53      浏览:3171 | 回复:3        打印      只看该作者   [复制链接] 楼主
问题描述及复现步骤:
QT运行程序,经常碰到下边这2个错误,不晓得要怎么规避或解决。很难重现,偶然性的。
错误1:经常是鼠标滚轮造成如下这个错误:
listener function for opcode 4 of wl_pointer is NULL
Aborted

错误2:不懂什么原因造成的
The Wayland connection broke. Did the Wayland compositor die?
Aborted

该错误后,再运行程序报错
QObject::startTimer: Timers can only be used with threads started with QThread
QObject::startTimer: Timers can only be used with threads started with QThread
Failed to create wl_display (Connection refused)
qt.qpa.plugin: Could not load the Qt platform plugin "wayland" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.


Available platform plugins are: linuxfb, minimal, offscreen, vnc, wayland-egl, wayland.


Aborted

log.zip

519 Bytes, 下载次数: 2, 下载积分: 灯泡 -1 , 经验 -1

回复

使用道具 举报

50

积分

0

威望

0

贡献

技术小白

积分
50
发表于 2022-8-11 16:08:29        只看该作者  沙发
另请问下,Wayland 被关闭了怎么不重启能重新开启这个?
回复

使用道具 举报

1306

积分

0

威望

0

贡献

中级创客

Rank: 4

积分
1306
发表于 2022-8-12 09:44:29        只看该作者  板凳
1. 不确定,google 一下吧;
2. 看信息是 weston 挂了;
3. 启动桌面执行这个脚本,/etc/init.d/S50launcher <start | stop>
回复

使用道具 举报

56

积分

0

威望

0

贡献

技术小白

积分
56
发表于 2022-11-10 14:15:08        只看该作者  地板
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

友情链接 : 爱板网 电子发烧友论坛 云汉电子社区 粤ICP备14022046号-2
快速回复 返回顶部 返回列表