当前位置:网站首页>解决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参数栏添加是没有效果的)
接着就可以看到如下输出,实际上还有更多,不过就挑出了些相关的信息吧,
边栏推荐
- 2、 Concurrent and test notes youth training camp notes
- MIPS uclibc cross compile ffmpeg, support g711a encoding and decoding
- JS small exercise ---- time sharing reminder and greeting, form password display hidden effect, text box focus event, closing advertisement
- 软件验收测试
- 【Liunx】进程控制和父子进程
- Outsourcing for four years, abandoned
- 身边35岁程序员如何建立起技术护城河?
- $parent (get parent component) and $root (get root component)
- Summary of customer value model (RFM) technology for data analysis
- 4、 High performance go language release optimization and landing practice youth training camp notes
猜你喜欢

URP - shaders and materials - light shader lit

nacos

1142_ SiCp learning notes_ Functions and processes created by functions_ Linear recursion and iteration

3、 High quality programming and performance tuning practical youth training camp notes

idea添加类注释模板和方法模板

机器人技术创新与实践旧版本大纲

Outsourcing for four years, abandoned

抽丝剥茧C语言(高阶)指针的进阶

1141_ SiCp learning notes_ Functions abstracted as black boxes

Apache AB stress test
随机推荐
Mobx knowledge point collection case (quick start)
Example of Pushlet using handle of Pushlet
Lm11 reconstruction of K-line and construction of timing trading strategy
Role of virtual machine
点亮显示屏的几个重要步骤
About binary cannot express decimals accurately
【Liunx】进程控制和父子进程
How to * * labelimg
Non empty verification of collection in SQL
Nesting and splitting of components
外包干了四年,废了...
Procedure in PostgreSQL supports transaction syntax (instance & Analysis)
../ And/
考研失败,卷不进大厂,感觉没戏了
Bi she - college student part-time platform system based on SSM
How do I get the last part of a string- How to get the last part of a string?
Software acceptance test
弹性布局(二)
"Xiaodeng in operation and maintenance" meets the compliance requirements of gdpr
PostgreSQL source code (59) analysis of transaction ID allocation and overflow judgment methods