Comments (6)
我之前误操作把 ~ 目录 rm 了,根目录还保留着……应该重装 qt 相关的工具吗?
不,应该与这个无关。
你试试
sudo apt install libxcb-util1
。我是通过这条信息查到的:Cannot load library /home/forzqx/.local/lib/python3.7/site-packages/PyQt5/Qt/plugins/platforms/libqxcb.so: (libxcb-util.so.1: 无法打开共享对象文件: 没有那个文件或目录)
英语:
Cannot load library /home/forzqx/.local/lib/python3.7/site-packages/PyQt5/Qt/plugins/platforms/libqxcb.so: (libxcb-util.so.1: cannot open shared object file: No such file or directory)"
我参考了:
- [QTBUG-88688] Qt application fails to start on Debian 10 Buster because libqxcb.so requires missing libxcb-util.so.1 - Qt Bug Tracker § comment-543920
- What the heck is libxcb-util.so.1? : linux4noobs
在 pkgs.org 搜索 libxcb-util1 包: Libxcb-util1 Download (DEB, RPM)
非常感谢,确实装了这个就好了👍
from quickcut.
你好。
假设你是在 Debian 系操作系统上,试试这个:
$ sudo apt install libxcb-xinerama0
参考:
- “Failed to load platform plugin ”xcb“ ” while launching qt5 app on linux without qt installed - Ask Ubuntu
- qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found. | Qt Forum
编辑:
安装 libxcb-util1
可解决问题。
$ sudo apt install libxcb-util1
From: #58 (comment)
from quickcut.
你好。
假设你是在 Debian 系操作系统上,试试这个:
$ sudo apt install libxcb-xinerama0
参考:
你好。
假设你是在 Debian 系操作系统上,试试这个:
$ sudo apt install libxcb-xinerama0
参考:
libxcb-xinerama0 已经是最新版 (1.13.1-2)
但还是跟之前一样的报错。
from quickcut.
你带上 QT_DEBUG_PLUGINS=1
再启动 QuickCut ,然后把所有的输出都发上来:
$ QT_DEBUG_PLUGINS=1 quickcut
from quickcut.
QT_DEBUG_PLUGINS=1 quickcut
QFactoryLoader::QFactoryLoader() checking directory path "/home/forzqx/.local/lib/python3.7/site-packages/PyQt5/Qt/plugins/platforms" ...
QFactoryLoader::QFactoryLoader() looking at "/home/forzqx/.local/lib/python3.7/site-packages/PyQt5/Qt/plugins/platforms/libqeglfs.so"
Found metadata in lib /home/forzqx/.local/lib/python3.7/site-packages/PyQt5/Qt/plugins/platforms/libqeglfs.so, metadata=
{
"IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
"MetaData": {
"Keys": [
"eglfs"
]
},
"archreq": 0,
"className": "QEglFSIntegrationPlugin",
"debug": false,
"version": 331520
}
Got keys from plugin meta data ("eglfs")
QFactoryLoader::QFactoryLoader() looking at "/home/forzqx/.local/lib/python3.7/site-packages/PyQt5/Qt/plugins/platforms/libqlinuxfb.so"
Found metadata in lib /home/forzqx/.local/lib/python3.7/site-packages/PyQt5/Qt/plugins/platforms/libqlinuxfb.so, metadata=
{
"IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
"MetaData": {
"Keys": [
"linuxfb"
]
},
"archreq": 0,
"className": "QLinuxFbIntegrationPlugin",
"debug": false,
"version": 331520
}
Got keys from plugin meta data ("linuxfb")
QFactoryLoader::QFactoryLoader() looking at "/home/forzqx/.local/lib/python3.7/site-packages/PyQt5/Qt/plugins/platforms/libqminimal.so"
Found metadata in lib /home/forzqx/.local/lib/python3.7/site-packages/PyQt5/Qt/plugins/platforms/libqminimal.so, metadata=
{
"IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
"MetaData": {
"Keys": [
"minimal"
]
},
"archreq": 0,
"className": "QMinimalIntegrationPlugin",
"debug": false,
"version": 331520
}
Got keys from plugin meta data ("minimal")
QFactoryLoader::QFactoryLoader() looking at "/home/forzqx/.local/lib/python3.7/site-packages/PyQt5/Qt/plugins/platforms/libqminimalegl.so"
Found metadata in lib /home/forzqx/.local/lib/python3.7/site-packages/PyQt5/Qt/plugins/platforms/libqminimalegl.so, metadata=
{
"IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
"MetaData": {
"Keys": [
"minimalegl"
]
},
"archreq": 0,
"className": "QMinimalEglIntegrationPlugin",
"debug": false,
"version": 331520
}
Got keys from plugin meta data ("minimalegl")
QFactoryLoader::QFactoryLoader() looking at "/home/forzqx/.local/lib/python3.7/site-packages/PyQt5/Qt/plugins/platforms/libqoffscreen.so"
Found metadata in lib /home/forzqx/.local/lib/python3.7/site-packages/PyQt5/Qt/plugins/platforms/libqoffscreen.so, metadata=
{
"IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
"MetaData": {
"Keys": [
"offscreen"
]
},
"archreq": 0,
"className": "QOffscreenIntegrationPlugin",
"debug": false,
"version": 331520
}
Got keys from plugin meta data ("offscreen")
QFactoryLoader::QFactoryLoader() looking at "/home/forzqx/.local/lib/python3.7/site-packages/PyQt5/Qt/plugins/platforms/libqvnc.so"
Found metadata in lib /home/forzqx/.local/lib/python3.7/site-packages/PyQt5/Qt/plugins/platforms/libqvnc.so, metadata=
{
"IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
"MetaData": {
"Keys": [
"vnc"
]
},
"archreq": 0,
"className": "QVncIntegrationPlugin",
"debug": false,
"version": 331520
}
Got keys from plugin meta data ("vnc")
QFactoryLoader::QFactoryLoader() looking at "/home/forzqx/.local/lib/python3.7/site-packages/PyQt5/Qt/plugins/platforms/libqwayland-egl.so"
Found metadata in lib /home/forzqx/.local/lib/python3.7/site-packages/PyQt5/Qt/plugins/platforms/libqwayland-egl.so, metadata=
{
"IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
"MetaData": {
"Keys": [
"wayland-egl"
]
},
"archreq": 0,
"className": "QWaylandEglPlatformIntegrationPlugin",
"debug": false,
"version": 331520
}
Got keys from plugin meta data ("wayland-egl")
QFactoryLoader::QFactoryLoader() looking at "/home/forzqx/.local/lib/python3.7/site-packages/PyQt5/Qt/plugins/platforms/libqwayland-generic.so"
Found metadata in lib /home/forzqx/.local/lib/python3.7/site-packages/PyQt5/Qt/plugins/platforms/libqwayland-generic.so, metadata=
{
"IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
"MetaData": {
"Keys": [
"wayland"
]
},
"archreq": 0,
"className": "QWaylandIntegrationPlugin",
"debug": false,
"version": 331520
}
Got keys from plugin meta data ("wayland")
QFactoryLoader::QFactoryLoader() looking at "/home/forzqx/.local/lib/python3.7/site-packages/PyQt5/Qt/plugins/platforms/libqwayland-xcomposite-egl.so"
Found metadata in lib /home/forzqx/.local/lib/python3.7/site-packages/PyQt5/Qt/plugins/platforms/libqwayland-xcomposite-egl.so, metadata=
{
"IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
"MetaData": {
"Keys": [
"wayland-xcomposite-egl"
]
},
"archreq": 0,
"className": "QWaylandXCompositeEglPlatformIntegrationPlugin",
"debug": false,
"version": 331520
}
Got keys from plugin meta data ("wayland-xcomposite-egl")
QFactoryLoader::QFactoryLoader() looking at "/home/forzqx/.local/lib/python3.7/site-packages/PyQt5/Qt/plugins/platforms/libqwayland-xcomposite-glx.so"
Found metadata in lib /home/forzqx/.local/lib/python3.7/site-packages/PyQt5/Qt/plugins/platforms/libqwayland-xcomposite-glx.so, metadata=
{
"IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
"MetaData": {
"Keys": [
"wayland-xcomposite-glx"
]
},
"archreq": 0,
"className": "QWaylandXCompositeGlxPlatformIntegrationPlugin",
"debug": false,
"version": 331520
}
Got keys from plugin meta data ("wayland-xcomposite-glx")
QFactoryLoader::QFactoryLoader() looking at "/home/forzqx/.local/lib/python3.7/site-packages/PyQt5/Qt/plugins/platforms/libqwebgl.so"
Found metadata in lib /home/forzqx/.local/lib/python3.7/site-packages/PyQt5/Qt/plugins/platforms/libqwebgl.so, metadata=
{
"IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
"MetaData": {
"Keys": [
"webgl"
]
},
"archreq": 0,
"className": "QWebGLIntegrationPlugin",
"debug": false,
"version": 331520
}
Got keys from plugin meta data ("webgl")
QFactoryLoader::QFactoryLoader() looking at "/home/forzqx/.local/lib/python3.7/site-packages/PyQt5/Qt/plugins/platforms/libqxcb.so"
Found metadata in lib /home/forzqx/.local/lib/python3.7/site-packages/PyQt5/Qt/plugins/platforms/libqxcb.so, metadata=
{
"IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
"MetaData": {
"Keys": [
"xcb"
]
},
"archreq": 0,
"className": "QXcbIntegrationPlugin",
"debug": false,
"version": 331520
}
Got keys from plugin meta data ("xcb")
QFactoryLoader::QFactoryLoader() checking directory path "/usr/bin/platforms" ...
Cannot load library /home/forzqx/.local/lib/python3.7/site-packages/PyQt5/Qt/plugins/platforms/libqxcb.so: (libxcb-util.so.1: 无法打开共享对象文件: 没有那个文件或目录)
QLibraryPrivate::loadPlugin failed on "/home/forzqx/.local/lib/python3.7/site-packages/PyQt5/Qt/plugins/platforms/libqxcb.so" : "Cannot load library /home/forzqx/.local/lib/python3.7/site-packages/PyQt5/Qt/plugins/platforms/libqxcb.so: (libxcb-util.so.1: 无法打开共享对象文件: 没有那个文件或目录)"
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: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl, xcb.
[1] 32060 abort QT_DEBUG_PLUGINS=1 quickcut
我之前误操作把 ~ 目录 rm 了,根目录还保留着……应该重装 qt 相关的工具吗?
from quickcut.
我之前误操作把 ~ 目录 rm 了,根目录还保留着……应该重装 qt 相关的工具吗?
不,应该与这个无关。
你试试 sudo apt install libxcb-util1
。我是通过这条信息查到的:
Cannot load library /home/forzqx/.local/lib/python3.7/site-packages/PyQt5/Qt/plugins/platforms/libqxcb.so: (libxcb-util.so.1: 无法打开共享对象文件: 没有那个文件或目录)
英语:
Cannot load library /home/forzqx/.local/lib/python3.7/site-packages/PyQt5/Qt/plugins/platforms/libqxcb.so: (libxcb-util.so.1: cannot open shared object file: No such file or directory)"
我参考了:
- [QTBUG-88688] Qt application fails to start on Debian 10 Buster because libqxcb.so requires missing libxcb-util.so.1 - Qt Bug Tracker § comment-543920
- What the heck is libxcb-util.so.1? : linux4noobs
在 pkgs.org 搜索 libxcb-util1 包: Libxcb-util1 Download (DEB, RPM)
from quickcut.
Related Issues (20)
- -qscale命令存在各种奇怪的问题......
- 求一个预设导入导出按钮
- 这输出,,,是我遇到了啥问题么
- Mac pip安装报错[Errno 2] No such file or directory: '/usr/local/bin/f2py'
- 1.8.0 自动剪辑不能使用自动字幕
- 下载建议更换yt-dlp,you-get和youtube-dl已经不行了。。。 HOT 1
- 转字幕功能能否用Google和微软引擎?
- hdr分割严重bug HOT 4
- 功能请求: 音频切片机
- [修改建议] `v1.8.0.Alpha` 标签与实际 Commit 不符(标签不在正确的分支和提交上) HOT 3
- 希望加个mkv转mp4带硬字幕
- h264压制错误
- 希望可以加入自动剪辑的无损不编码分割合并操作
- 一点小建议
- 语音自动转字幕:请考虑开源、免费、强大的whisper HOT 1
- 建议:自动剪辑可以借鉴autocut进行强化
- 字幕生成建议支持OpenAI的Whisper模型 HOT 1
- 希望增加H264批量压缩功能。 HOT 1
- 使用分割功能出来的视频时长对不上 HOT 1
- 点击下载链接后页面调整到广告 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from quickcut.