当前位置:网站首页>解决could not find or load the Qt platform plugin “xcb“in ““.
解决could not find or load the Qt platform plugin “xcb“in ““.
2022-07-07 04:02:00 【新潮技术研究社】
错误描述:
This application failed to start because it could not find or load the Qt platform plugin "xcb"
in "".
Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, xcb.
Reinstalling the application may fix this problem.
Debugging has finished
编译的是一个CMake项目,编译过程中的问题都解决了,但是运行的时候有出问题了。
看到上面的错误描述,是不是有点儿懵?找不到“xcb”?可下一行,最后的那个是什么?xcb啊,啥情况,不是找到了么?
好吧,说明错误还不够详细
我们需要更加多的错误输出。
在编译目录下打开终端,然后输入下面的命令,
$export QT_DEBUG_PLUGINS=1
$./xxxx
(直接在QtCreator里面的Build参数栏添加是没有效果的)
接着就可以看到如下输出,实际上还有更多,不过就挑出了些相关的信息吧,
边栏推荐
- Robot technology innovation and practice old version outline
- 2、 Concurrent and test notes youth training camp notes
- [semantic segmentation] - multi-scale attention
- 【leetcode】1020. Number of enclaves
- 1140_ SiCp learning notes_ Use Newton's method to solve the square root
- Causes and solutions of oom (memory overflow)
- Invalid table alias or column reference`xxx`
- Flutter riverpod is comprehensively and deeply analyzed. Why is it officially recommended?
- Build personal website based on flask
- After 95, Alibaba P7 published the payroll: it's really fragrant to make up this
猜你喜欢
Example of Pushlet using handle of Pushlet
BGP experiment (1)
Cloud backup project
Summary of customer value model (RFM) technology for data analysis
Music | cat and mouse -- classic not only plot
Model application of time series analysis - stock price prediction
聊聊异步编程的 7 种实现方式
Freeswitch dials extension number source code tracking
$parent (get parent component) and $root (get root component)
Robot technology innovation and practice old version outline
随机推荐
Several important steps to light up the display
关于二进制无法精确表示小数
计算机服务中缺失MySQL服务
L'étape avancée du pointeur de langage C (haut de gamme) pour l'enroulement des cocons
Jenkins远程构建项目超时的问题
[Linux] process control and parent-child processes
Hidden Markov model (HMM) learning notes
Le Service MySQL manque dans le service informatique
The currently released SKU (sales specification) information contains words that are suspected to have nothing to do with baby
JS small exercise
Advanced level of C language (high level) pointer
I failed in the postgraduate entrance examination and couldn't get into the big factory. I feel like it's over
Unity C function notes
How do I get the last part of a string- How to get the last part of a string?
Kuboard无法发送邮件和钉钉告警问题解决
gatk4中的interval是什么??
ASEMI整流桥RS210参数,RS210规格,RS210封装
Leetcode sword finger offer brush questions - day 20
Docker compose start redis cluster
外包幹了三年,廢了...