当前位置:网站首页>解决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参数栏添加是没有效果的)
接着就可以看到如下输出,实际上还有更多,不过就挑出了些相关的信息吧,
边栏推荐
- How can a 35 year old programmer build a technological moat?
- mips uclibc 交叉编译ffmpeg,支持 G711A 编解码
- JS decorator @decorator learning notes
- $parent (get parent component) and $root (get root component)
- Why is the row of SQL_ The ranking returned by number is 1
- MySQL service is missing from computer service
- The annual salary of general test is 15W, and the annual salary of test and development is 30w+. What is the difference between the two?
- Sqlmap tutorial (IV) practical skills three: bypass the firewall
- Example of Pushlet using handle of Pushlet
- ROS2规划系统plansys2简单的例子
猜你喜欢

About binary cannot express decimals accurately

IO流 file

Talk about seven ways to realize asynchronous programming

About some details of final, I have something to say - learn about final CSDN creation clock out from the memory model

At the age of 20, I got the ByteDance offer on four sides, and I still can't believe it

Fast quantitative, abbkine protein quantitative kit BCA method is coming!

BGP experiment (1)

Le Service MySQL manque dans le service informatique

Lm11 reconstruction of K-line and construction of timing trading strategy

Advanced level of C language (high level) pointer
随机推荐
Causes and solutions of oom (memory overflow)
Summary of customer value model (RFM) technology for data analysis
nacos
Jenkins远程构建项目超时的问题
JS small exercise
Several important steps to light up the display
PostgreSQL source code (59) analysis of transaction ID allocation and overflow judgment methods
Tumor immunotherapy research prosci Lag3 antibody solution
BGP experiment (1)
Select the product attribute pop-up box to pop up the animation effect from the bottom
[2022 ACTF]web题目复现
Mutual conversion between InputStream, int, shot, long and byte arrays
Pass parent component to child component: props
KBU1510-ASEMI电源专用15A整流桥KBU1510
Flexible layout (I)
聊聊异步编程的 7 种实现方式
4、 High performance go language release optimization and landing practice youth training camp notes
IO流 file
弹性布局(二)
Flutter riverpod is comprehensively and deeply analyzed. Why is it officially recommended?