问题描述及复现步骤:
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
更多回帖