当前位置:网站首页>qt程序插件报错plugin xcb
qt程序插件报错plugin xcb
2022-06-10 23:33:00 【雨田嘟嘟】
[email protected]:/opt/apps/xltest/files$ ./xltray
This application failed to start because it could not find or load the Qt platform plugin "xcb"
in "".
Available platform plugins are: dde-kwin-xcb, dxcb, eglfs, linuxfb, minimal, minimalegl, offscreen, xcb.
Reinstalling the application may fix this problem.
启动qt界面程序报错。这是什么原因呢,按照提示重新安装程序可以解决问题?当然不会的,这个是系统环境问题。
ldd 查看 xltray并不缺少依赖库,其实不用ldd也知道不缺少依赖库,因为缺少依赖库的话会报找不到对应的共享库文件。elf缺少依赖库的报错如下:
error while loading shared libraries: libxltest.so.1: cannot open shared object file: No such file or directory我们从提示上看出是“load the Qt platform plugin "xcb” 出的问题,那么意味着是Qt平台插件相关的错误。
Qt平台下的编程中包含了插件模式,使得程序的扩展性非常好,但是插件的动态加载的检查也比较严格,出现错误的可能性也大大增加,无法加载的原因有多种:
- 找不到文件,编译的插件共享库库没有放在正确的rpath目录下;
- 插件库运行还依赖其他库,如果系统没有
边栏推荐
- 飞利浦 COO 人事变动,将临危受命解决“供应链和产品召回”双重危机
- 333333
- [network planning] 2.2.4 Web cache / proxy server
- SQL审核 | “云上”用户可以一键使用 SQLE 审核服务啦
- MP framework basic operation (self use)
- Objects as points personal summary
- array_column() expects parameter 1 to be array, array given
- What are absolute and relative paths, and what are their advantages and disadvantages?
- 如何在office2016(word2016)中安装mathtype6.9及相关问题解决方案
- Unity custom folder icon color personalized unity compiler
猜你喜欢

市值215亿,这个四川80后会让电视机成为历史?

How to ensure the sequence of messages, that messages are not lost or consumed repeatedly

Blocking queue - delayedworkqueue source code analysis
![[network counting] 1.4 network delay, packet loss and throughput](/img/a8/74a1b44ce4d8b0b1a85043a091a91d.jpg)
[network counting] 1.4 network delay, packet loss and throughput

SLAM卡尔曼滤波&&非线性优化

Signature verification failed during system application installation

Unity custom folder icon color personalized unity compiler

Pirate OJ 148 String inversion
![[network planning] 2.2.3 user server interaction: cookies](/img/a8/74a1b44ce4d8b0b1a85043a091a91d.jpg)
[network planning] 2.2.3 user server interaction: cookies

哈工大软件构造复习——LSP原则,协变和逆变
随机推荐
Automated test series
Canvas drawing line break
Yii2 activerecord uses the ID associated with the table to automatically remove duplicates
Pirate OJ 148 String inversion
What is MYCAT? Get to know you quickly
Chapter I General introduction - Fundamentals of accounting
f‘s‘f‘s‘f‘s‘d
teterttet
DevOps到底是什么意思?
How to install mathtype6.9 and related problem solutions in office2016 (word2016)
富文本活动测试1
Go language channel understanding and use
五大类型负载均衡的原理场景详解
f‘s‘f‘s‘f‘s‘d
With a market value of 21.5 billion yuan, will the post-80s generation in Sichuan make TV history?
非重叠矩形中的随机点
array_column() expects parameter 1 to be array, array given
海贼oj#448.抽奖
Synchronized keyword for concurrent programming
Décomposition détaillée du problème de chemin le plus court du graphique