此下载文件位于我的下载文件夹中。我应该把这个文件夹放在哪里?如何使用和安装?
以前,我删除了所有的qt5文件,显示有一个错误,所以我已经下载了。
我已经提取了tar.gz文件,但我需要详细了解如何处理这个脱机安装程序。
当我删除qt5的所有文件时,发生了此错误
qt.qpa.plugin: Could not find the Qt platform plugin "xcb" in ""
This application failed to start because no Qt platform plugin could be initialized. Rei
我使用okular来注释我的一些PDF,但最近出现了一个问题,我只能打开我安装了ubuntu的SSD上的文件,而不能打开第二个硬盘(位于/mnt/.)上的文件。
当从终端运行时,我得到的输出是:
Qt: Session management error: None of the authentication protocols specified are supported
org.kde.knotifications: Audio notification requested, but sound file from notifyrc file was not found, aborting
我一直在使用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
当我通过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
我试图安装在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
我想要在窗口上创建一个码头映像,而坞文件中的图像库则是linux操作系统。我的程序使用了open程序,它的输出图像必须用CV2.imshow()显示。但是在运行容器之后,我得到了这个错误。
请帮我修一下。
qt.qpa.xcb: could not connect to display
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "/usr/local/lib/python3.9/site-packages/cv2/qt/plugins" even though it was fou
我对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
我正在编写python (3.9)应用程序,并希望使用pyinstaller分发可执行文件。我正在pipenv环境中运行opencv-contrib-python==4.5.4.60、opencv-python==4.5.4.60和numpy==1.21.4。
生成的可执行文件一直给我这个错误:
qt.qpa.plugin: Could not find the Qt platform plugin "xcb" in "/tmp/_MEIuynHyq/cv2/qt/plugins"
This application failed to start because
我试图在ncu-ui 7 Linux系统(使用ncu-ui 2022.1)上运行CentOS分析器GUI,它既是根用户,也是普通用户。我得到了错误:
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
我使用运行“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
我使用pyqt5和opencv创建了一个GUI应用程序。该应用程序在不激活虚拟env的情况下运行良好,但当我激活虚拟env并运行该应用程序时,它将显示以下错误:
QObject::moveToThread: Current thread (0x125b2f0) is not the object's thread (0x189e780).
Cannot move to target thread (0x125b2f0)
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "/home/de
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.
我试图在我的LUBUNTU电脑上安装VirtualBox来使用OS。安装后,我尝试运行它,但由于以下错误而失败:
Qt FATAL: This application failed to start because it could not find or load the Qt platform plugin"xcb".
Aviable platform plugins are: xcb. Reinstalling the application may fix the problem.
我是来请你帮我解决这个问题的。我已经尝试重新安装应用程序,但都不起作用。
我正试着在ubuntu20.4上运行wireshark,在windows(pc)上的WSL2上运行。(我也在AWS实例Ubuntu上进行了尝试,得到了相同的错误) 这是我尝试运行wireshark时收到的错误消息 qt.qpa.xcb: could not connect to display qt.qpa.plugin: Could not load the Qt
platform plugin "xcb" in "/opt/wireshark/libs/Qt/plugins/platforms" even though it was found. Thi
我在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
故事是,我用Python3.8、PyQt5和Postgres构建了一个Python软件,所以我试图创建一个容器来对所有这些东西进行对接,我正在考虑创建一个Dockerfile来创建一个用于python + pqt5的容器,另一个只用于Postgres的容器,然后使用docker-组合来链接所有的东西。
问题是,当我试图为PythonandPyQt5创建一个容器时,我将面临这个错误。
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
我正在测试一个基于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
pi@raspberrypi:~ $ ./qtGui
qt.qpa.xcb: could not connect to display :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 platform plugin could be initialized. Reinstalling the application may fi
我做了一个新的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
我已经安装了gqcnn、Pyrep和autolab_core。在那之后,我执行了我同事写的代码,它在他的电脑上运行得很好。 但是,我不能运行代码。发生的错误是 python3.7/site-packages/cv2/qt/plugins/platforms" ...
QFactoryLoader::QFactoryLoader() looking at "/home/bak/anaconda3/envs/pyrep/lib/python3.7/site-packages/cv2/qt/plugins/platforms/libqxcb.so"
Found metada
因此,我有一个基于C++的Qt5图形用户界面,我想从一个Docker容器中运行它。
当我试着用
docker run --rm -it my_image
这将导致错误输出。
qt.qpa.xcb: could not connect to display localhost:10.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
如何在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
我已经使用opencv和迁移学习模型(resnetSSD)构建了一个人脸检测应用程序。应用程序的输出:视频将打开,模型将能够识别人脸。
应用程序在我的本地系统中运行良好。我也可以构建docker,但是当运行docker容器时,下面的错误我得到了:
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "/usr/local/lib/python3.6/dist-packages/cv2/qt/plugins" even though it was found.
This application
我在我的笔记本电脑上交叉编译了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
安装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:这个应用程序启
我的程序在与终端一起运行或双击时,会自己工作。
但是,当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
我想在不同的系统上运行一个PyQt5应用程序。当它在Qt5支持的系统上运行时,一切都很好。否则,我想要自动切换到基于文本的界面。
当我试图在错误的环境中启动应用程序(例如,通过SSH进行测试)时,我会得到以下错误:
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 Designer创建了一个简单的"hello world“,并用auto-py-to-exe编译了它。编译期间没有错误消息,但当我双击创建的可执行文件时,我的终端中有以下内容:
(venv) (base) saltz@saltz:~/Bureau/70 5 applications Qt/test/output$ ./main
qt.qpa.plugin: Could not find the Qt platform plugin "xcb" in ""
This application failed to start because no Q
当我运行这个脚本"python3 script.py“时,一切都是正常的。(我尝试以root用户和其他用户身份运行该脚本) import music21
import os
# "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."
os.putenv("QT_QPA_PLATFORM"
我有一个项目要做,使用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