QObject::moveToThread: Current thread (xxx) is not the object’s thread (xxx). Cannot move to target thread (xxx)
qt.qpa.plugin: Could not load the Qt platform plugin “xcb” 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: xcb, eglfs, minimal, minimalegl, offscreen, vnc, webgl.
复制代码
该错误表明 Qt 无法初始化其平台插件,特殊是“xcb”插件。xcb 是 Qt 在 Linux 系统中与 X Window System 进行交互的重要组件。没有它,Qt 应用程序将无法在 Linux 情况中启动。 解决方案