当前位置:网站首页>解决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参数栏添加是没有效果的)
接着就可以看到如下输出,实际上还有更多,不过就挑出了些相关的信息吧,
边栏推荐
- Leetcode-226. Invert Binary Tree
- Talk about seven ways to realize asynchronous programming
- Flexible layout (II)
- Mutual conversion between InputStream, int, shot, long and byte arrays
- KBU1510-ASEMI电源专用15A整流桥KBU1510
- 抽絲剝繭C語言(高階)指針的進階
- Advanced practice of C language (high level) pointer
- Detailed explanation of transform origin attribute
- 4、 High performance go language release optimization and landing practice youth training camp notes
- Wechat applet full stack development practice Chapter 3 Introduction and use of APIs commonly used in wechat applet development -- 3.10 tabbar component (I) how to open and use the default tabbar comp
猜你喜欢
[2022 ACTF]web题目复现
Outlier detection technology of time series data
Introduction to abnova's in vitro mRNA transcription workflow and capping method
MIPS uclibc cross compile ffmpeg, support g711a encoding and decoding
KBU1510-ASEMI电源专用15A整流桥KBU1510
[ANSYS] learning experience of APDL finite element analysis
关于二进制无法精确表示小数
How to * * labelimg
抽丝剥茧C语言(高阶)指针进阶练习
3、 High quality programming and performance tuning practical youth training camp notes
随机推荐
Summary of customer value model (RFM) technology for data analysis
抽絲剝繭C語言(高階)數據的儲存+練習
修改Jupyter Notebook文件路径
Dynamics CRM server deployment - restore database prompt: the database is in use
聊聊异步编程的 7 种实现方式
Robot technology innovation and practice old version outline
Simple example of ros2 planning system plansys2
记一个并发规则验证实现
Readonly read only
ASEMI整流桥RS210参数,RS210规格,RS210封装
L'étape avancée du pointeur de langage C (haut de gamme) pour l'enroulement des cocons
基于Flask搭建个人网站
Mutual conversion between InputStream, int, shot, long and byte arrays
Asynchronous components and suspend (in real development)
URP - shaders and materials - simple lit
gatk4中的interval是什么??
Redis data migration
Why is the row of SQL_ The ranking returned by number is 1
机器人技术创新与实践旧版本大纲
Select the product attribute pop-up box to pop up the animation effect from the bottom