当前位置:网站首页>解决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参数栏添加是没有效果的)
接着就可以看到如下输出,实际上还有更多,不过就挑出了些相关的信息吧,
边栏推荐
- 二、并发、测试笔记 青训营笔记
- About some details of final, I have something to say - learn about final CSDN creation clock out from the memory model
- 电商常规问题part1
- C language (high-level) data storage + Practice
- 毕设-基于SSM大学生兼职平台系统
- BGP experiment (1)
- Example of Pushlet using handle of Pushlet
- 按键精灵采集学习-矿药采集及跑图
- Apache AB stress test
- Abnova immunohistochemical service solution
猜你喜欢

1140_ SiCp learning notes_ Use Newton's method to solve the square root

Jenkins远程构建项目超时的问题

Robot technology innovation and practice old version outline

一、Go知识查缺补漏+实战课程笔记 | 青训营笔记

mips uclibc 交叉编译ffmpeg,支持 G711A 编解码

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

计算机服务中缺失MySQL服务

我理想的软件测试人员发展状态

KBU1510-ASEMI电源专用15A整流桥KBU1510

Music | cat and mouse -- classic not only plot
随机推荐
MobaXterm
Leetcode-226. Invert Binary Tree
Pass parent component to child component: props
修改Jupyter Notebook文件路径
直播平台源码,可折叠式菜单栏
PostgreSQL source code (60) transaction system summary
URP - shaders and materials - simple lit
After 95, the CV engineer posted the payroll and made up this. It's really fragrant
Software acceptance test
Bi she - college student part-time platform system based on SSM
Communication between non parent and child components
[2022 CISCN]初赛 web题目复现
Advanced practice of C language (high level) pointer
2、 Concurrent and test notes youth training camp notes
How do I get the last part of a string- How to get the last part of a string?
A concurrent rule verification implementation
Dynamics CRM server deployment - restore database prompt: the database is in use
科技云报道:从Robot到Cobot,人机共融正在开创一个时代
Detailed explanation of neo4j installation process
Explain Bleu in machine translation task in detail