我已经成功地使用Qt和动态链接库开发了一个图形的QT5.15.2应用程序。出于各种原因,我已经确定静态链接将更适合我的应用程序。我试图将我的开发环境转换为使用静态库而不是动态库。我的应用程序构建时没有错误,但是当我将应用程序部署到开发板(运行Debian11.5的BeagleBone Black )时,我得到了以下错误:
qt.qpa.plugin: Could not find the Qt platform plugin "linuxfb" in ""
This application failed to start because no Qt platfo
我在Debian1032位上构建Qt5。然后,我创建了一个最小的Qt项目,运行$ ~/qt/qt-everywhere-src-5.12.7/qtbase/bin/qmake project.pro和make,但当我尝试执行应用程序时,我执行以下操作: 这是怎么回事? $ ./release/project
qt.qpa.plugin: Could not find the Qt platform plugin "xcb" in ""
This application failed to start because no Qt platform plugin
我在我的笔记本电脑上交叉编译了Qt5.12,并将其安装在运行Raspbian Stretch OS的Raspberry Pi 3上。我正在尝试远程调试(从QtCreator)在RPi上运行的应用程序。 当我用./app -platform xcb这样的命令从RPi终端运行我的Qt应用程序时,它工作得很好,但当我试图从远程调试会话运行相同的应用程序时,我得到了以下输出: Could not load shared library symbols for /usr/local/qt5pi/plugins/platforms/libqxcb.so.
Do you need "set sol
My环境: Ubuntun 20.10,Python3.8.6,
pip冻结输出:
PyQt5==5.15.4PyQt5-Qt5==5.15.2PyQt5-sip==12.8.1pyqtgraph==0.12.1PySide2==5.15.2PySide6==6.0.3shiboken2==5.15.2shiboken6==6.0.3
python plotting.py
错误消息:
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
我使用运行“xrdp&xfce4”的WSL访问xrdp。我试图运行“NetAnim”为NS-3,使用Qt5。
我一跑就会:
$ ./NetAnim
它给出了一个输出:
qt.qpa.xcb: could not connect to display localhost:0.0
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 pla
我已经启用了kubuntu-ppa/backports和kubuntu-ppa/ppa的Kubuntu15.10。昨天有一些更新(我猜是5.5.3)。现在我无法登录:
.xsession-errors
This application failed to start because it could not find or load the Qt platform plugin "xcb".
Available platform plugins are: linuxfb, minimal, minimalegl, offscreen.
Reinstalling the ap
在启动wireshark时,我收到以下错误:
sudo wireshark
This application failed to start because it could not find or load the Qt platform plugin "xcb".
Available platform plugins are: linuxfb, minimal, offscreen, xcb.
Reinstalling the application may fix the problem.
Aborted (core dumped)
安装xcb之后,我仍然会得到相同
突然robo3t没有启动,
错误消息
usama@usama:~$ robo3t-snap
This application failed to start because it could not find or load the Qt platform plugin "wayland-egl"
in "".
Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, xcb.
Reinstalling the application may fix thi
我对Linux非常陌生,我正在使用Windows 11
从MS store安装ubuntu bash,并使用以下命令安装Spyder
sudo apt-get install spyder
但当我打电话给Spyder
我知道这个错误
user1@DELLG3:~$ spyder
qt.qpa.xcb: could not connect to display
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This applica
当我试图用./deemix-pyweb打开一个可执行文件时,会出现以下错误:
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
我在Ubuntu20.04上运行Anki,按照他们的网页上的说明。但是,尝试从命令行或应用程序菜单启动它是行不通的。错误如下:
Qt info: Could not load the Qt platform plugin "xcb" in "" even though it was found.
Qt fatal: This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix th
如何在Ubuntu20.04中解决这个问题?
Invalid MIT-MAGIC-COOKIE-1 keyqt.qpa.xcb: could not connect to display :0
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. Reinstallin
当我运行rstudio命令时,我得到以下错误: qt.qpa.xcb: could not connect to display
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
当我通过ssh连接并试图运行kdbg时,我处理了以下问题:
qt.qpa.xcb: could not connect to display
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
Failed to create wl_display (No such file or directory)
qt.qpa.plugin: Could not load the Qt platform plugin "wayland
我有一个项目要做,使用Python。我必须做一个图形用户界面,所以我选择通过PySide2使用Qt。在Windows上,一切运行都没有问题。但是当我尝试在Debian上运行我的项目时,我遇到了这个问题:
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
No protocol specified
qt.qpa.xcb: could not connect to display :0
qt.qpa.plugin: Could not
我的程序在与终端一起运行或双击时,会自己工作。
但是,当pi引导和接收到此错误时,我试图运行这个程序:
qt.qpa.xcb: could not connect to display
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 th
我做了一个新的Kubuntu22.04安装,并有以下一个问题-我不能启动驱动程序管理。当我转到“设置”,然后单击它的按钮时,xterm窗口将打开询问密码。所以在我指定它之后,一些东西会被打印在控制台中,然后它很快就关闭了,所以我从来没有能够及时地做一个屏幕截图。我不知道如何在这种情况下提供更多的日志。
编辑:似乎我收到了以下错误:
qt.qpa.xcb: could not connect to display :10.0
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even
我试图安装在Ubuntu20.04的口径,但它不会发射。我遵循了另一个问题(口径不再工作)的说明,但没有奏效。我就是这样安装的(5.20.0版):
sudo -v && wget -nv -O- https://download.calibre-ebook.com/linux-installer.sh | sudo sh /dev/stdin
我得到了一个错误:
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
T
我试图从这里运行代码,和我发现自己被这个错误信息困住了:
qt.qpa.xcb: could not connect to display
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
我正在安装vokoscreen 3.0.8:
https://snapcraft.io/vokoscreen-ng
当我尝试运行它时,它告诉我:
wiktor@wiktor:~$ vokoscreen-ng
This application failed to start because it could not find or load the Qt platform plugin "wayland-egl"
in "".
Available platform plugins are: eglfs, linuxfb, minimal, minimalegl,
安装anki后,我使用Xubuntu18.04(Linux4.15.0-48-泛型x86_64 )(buildd@lgw01- as 64-036) (gcc版本7.3.0 (Ubuntu7.3.0-16 ubuntu3))#51-UbuntuSMP,如anki的网站所示:
$ tar xjf Downloads/anki-2.1.12-amd64.tar.bz2
$ cd anki-2.1.12-linux-amd64
$ sudo make install
当我运行anki时,我收到了这个消息:
qt:无法加载Qt平台插件"xcb“中的”xcb“,即使找到了它。qt:这个应用程序启
出于学术原因,我安装了QT-everywhere 5.15开源,但我没有运行一个程序。
首先,我用make编译了必要的源文件并安装了qmake,然后选择了qmake在其中运行程序。当我试图运行一个示例程序时,我遇到了以下错误:
qt.qpa.plugin: Could not find the Qt platform plugin "xcb" in "/usr/lib/x86-64-linux-gnu"
This application failed to start because no Qt platform plugin could be initiali
我一直在使用Qt Wayland插件为linux开发一个显示管理器。我尝试在终端会话上运行我构建的显示管理器,但结果如下所示
qt.qpa.plugin: Could not find the Qt platform plugin "wyland" in ""
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Available platfor
我知道在这个问题上有很多答案,但是没有一个对我有帮助。我正在通过Oracle VM Virtual使用Ubunty 20.04,我面临的错误与所有其他人完全相同。在使用正式的Qt手册构建Qt6源代码之后,我尝试运行不同的项目来测试一切是否正常。控制台类型的项目构建和运行正常。没有错误。不幸的是,当我试图运行Widget类型的应用程序时,它会因众所周知的错误而失败.
t.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This appli
我使用QTest为Qt应用程序编写了许多单元测试,这些测试被打包到单独的可执行文件中,可以从终端运行。这两个可执行文件都可以在我的桌面和Jenkins服务器上编译和运行。
但是,当我试图通过使用SSH在Jenkins上的作业运行这些单元测试时,我会收到以下错误:
qt.qpa.xcb: could not connect to display
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application fa
我正在测试一个基于Qt的GUI应用程序,它是用Ubuntu 20.04中的Qt creator生成的。此应用程序使用库,该库需要root权限。但是,无法以root用户身份启动应用程序,因为它无法访问显示。 如果我以普通用户的身份启动应用程序,我会在库中得到一个modprobe错误: $ CGUTLGUI_Qt
qt.core.qobject.connect: QObject::connect: No such signal QSignalMapper::mapped(int) in ../src/cgosfunc/cgosgpio.cpp:242
qt.core.qobject.conne