Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
目前正在尝试在 Wayland 平台上启动 Qt 应用程序,但没有成功。我成功启动了其他基本应用程序,例如计算器或油漆样本。但我的应用程序收到以下错误:
QSocketNotifier:只能用于以 QThread 启动的线程
我找不到这个错误的原因。尝试使用以下值启动具有 env 变量“qt.qpa.plugin”的应用程序:wayland-egl、wayland、wayland-xcomposite-egl 总是得到相同的错误。
什么样的行为会触发此错误?