我正在使用 Ubuntu 20.04.3 并尝试一些基于 QT 的应用程序。在我的特定用例中,我尝试启动 Android 文件传输,但它抛出以下错误:
Failed to create wl_display (No such file or directory)
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: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, xcb.
Run Code Online (Sandbox Code Playgroud)
这是“qmake --version”的输出
QMake version 3.1
Using Qt version 5.9.7 in /home/*****/anaconda3/lib
Run Code Online (Sandbox Code Playgroud)
这是停用 …