国产 无码 综合区,色欲AV无码国产永久播放,无码天堂亚洲国产AV,国产日韩欧美女同一区二区

qt.qpa.plugin: Could not load the Qt platform plugin “xcb“ in

這篇具有很好參考價(jià)值的文章主要介紹了qt.qpa.plugin: Could not load the Qt platform plugin “xcb“ in。希望對(duì)大家有所幫助。如果存在錯(cuò)誤或未考慮完全的地方,請(qǐng)大家不吝賜教,您也可以點(diǎn)擊"舉報(bào)違法"按鈕提交疑問。

兄弟們看看是不是這個(gè)錯(cuò):

QObject::moveToThread: Current thread (0xe5205f0) is not the object's thread (0xa14d0f0).
Cannot move to target thread (0xe5205f0)

qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "/xxx/python3.8/site-packages/cv2/qt/plugins" 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: xcb, eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl.

VScode 80年不出個(gè)錯(cuò),今兒冒出來這個(gè),我也不知道是mmdet配置問題,還是opencv-python的問題,還是VScode的問題hhhh

參考該鏈接:
https://blog.csdn.net/LOVEmy134611/article/details/107212845

把QT的flag打開,我們才能看到報(bào)錯(cuò)的詳細(xì)信息

export QT_DEBUG_PLUGINS=1

注意,這個(gè)執(zhí)行后,該環(huán)境變量只在當(dāng)前終端有效,關(guān)了這個(gè)終端就失效了,當(dāng)然你也可以寫到.bashrc

然后就整出一個(gè)超級(jí)長(zhǎng)的報(bào)錯(cuò):

QFactoryLoader::QFactoryLoader() checking directory path "xxxxminiconda3/envs/tor38/lib/python3.8/site-packages/cv2/qt/plugins" ...
QFactoryLoader::QFactoryLoader() checking directory path "xxxxminiconda3/envs/tor38/lib/python3.8/site-packages/PyQt5/Qt5/plugins" ...
QFactoryLoader::QFactoryLoader() checking directory path "xxxxminiconda3/envs/tor38/bin" ...
QFactoryLoader::QFactoryLoader() looking at "xxxxminiconda3/envs/tor38/bin/2to3"
QElfParser: 'xxxxminiconda3/envs/tor38/bin/2to3-3.8' is not an ELF object
"'xxxxminiconda3/envs/tor38/bin/2to3-3.8' is not an ELF object" 
 not a plugin
QFactoryLoader::QFactoryLoader() looking at "xxxxminiconda3/envs/tor38/bin/2to3-3.8"

......

QFactoryLoader::QFactoryLoader() looking at "xxxxminiconda3/envs/tor38/bin/yapf"
QElfParser: 'xxxxminiconda3/envs/tor38/bin/yapf' is not an ELF object
"'xxxxminiconda3/envs/tor38/bin/yapf' is not an ELF object" 
 not a plugin
QFactoryLoader::QFactoryLoader() looking at "xxxxminiconda3/envs/tor38/bin/yapf-diff"
QElfParser: 'xxxxminiconda3/envs/tor38/bin/yapf-diff' is not an ELF object
"'xxxxminiconda3/envs/tor38/bin/yapf-diff' is not an ELF object" 
 not a plugin
QFactoryLoader::QFactoryLoader() checking directory path "xxxxminiconda3/envs/tor38/lib/python3.8/site-packages/cv2/qt/plugins/platforms" ...
QFactoryLoader::QFactoryLoader() looking at "xxxxminiconda3/envs/tor38/lib/python3.8/site-packages/cv2/qt/plugins/platforms/libqxcb.so"
Found metadata in lib xxxxminiconda3/envs/tor38/lib/python3.8/site-packages/cv2/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 ("webgl")
QFactoryLoader::QFactoryLoader() looking at "xxxxminiconda3/envs/tor38/lib/python3.8/site-packages/PyQt5/Qt5/plugins/platforms/libqxcb.so"
Found metadata in lib xxxxminiconda3/envs/tor38/lib/python3.8/site-packages/PyQt5/Qt5/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 "xxxxminiconda3/envs/tor38/bin/platforms" ...
loaded library "xxxxminiconda3/envs/tor38/lib/python3.8/site-packages/cv2/qt/plugins/platforms/libqxcb.so"
QObject::moveToThread: Current thread (0x5eeb0e0) is not the object's thread (0xb291550).
Cannot move to target thread (0x5eeb0e0)

......


qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "xxxxminiconda3/envs/tor38/lib/python3.8/site-packages/cv2/qt/plugins" 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: xcb, eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl.

參考該鏈接:
https://github.com/google/mediapipe/issues/1373
與這哥們報(bào)的錯(cuò)誤差不多

這位大哥這樣做的
qt.qpa.plugin: Could not load the Qt platform plugin “xcb“ in
當(dāng)然你也可以在環(huán)境變量中添加:

export DISPLAY=:0	

launch.json 中這樣添加
qt.qpa.plugin: Could not load the Qt platform plugin “xcb“ in

解決是解決了,但是給我整出來一個(gè)

Invalid MIT-MAGIC-COOKIE-1 Key(環(huán)境變量名字)

qt.qpa.plugin: Could not load the Qt platform plugin “xcb“ in
暫時(shí)不影響文章來源地址http://www.zghlxwxcb.cn/news/detail-494559.html

到了這里,關(guān)于qt.qpa.plugin: Could not load the Qt platform plugin “xcb“ in的文章就介紹完了。如果您還想了解更多內(nèi)容,請(qǐng)?jiān)谟疑辖撬阉鱐OY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!

本文來自互聯(lián)網(wǎng)用戶投稿,該文觀點(diǎn)僅代表作者本人,不代表本站立場(chǎng)。本站僅提供信息存儲(chǔ)空間服務(wù),不擁有所有權(quán),不承擔(dān)相關(guān)法律責(zé)任。如若轉(zhuǎn)載,請(qǐng)注明出處: 如若內(nèi)容造成侵權(quán)/違法違規(guī)/事實(shí)不符,請(qǐng)點(diǎn)擊違法舉報(bào)進(jìn)行投訴反饋,一經(jīng)查實(shí),立即刪除!

領(lǐng)支付寶紅包贊助服務(wù)器費(fèi)用

相關(guān)文章

覺得文章有用就打賞一下文章作者

支付寶掃一掃打賞

博客贊助

微信掃一掃打賞

請(qǐng)作者喝杯咖啡吧~博客贊助

支付寶掃一掃領(lǐng)取紅包,優(yōu)惠每天領(lǐng)

二維碼1

領(lǐng)取紅包

二維碼2

領(lǐng)紅包