qt.qpa.plugin: Could not load the Qt platform plugin “linuxfb“ in ““ even though it was found问题解决
移植好QT 之后,在开发板中运行程序是,会出以下错误。
qt.qpa.plugin: Could not load the Qt platform plugin "linuxfb" in "" even though it was found.
解决方案: vi /etc/profile 添加 export QT_DEBUG_PLUGINS=1
然后 souce /etc/profile 使配置生效, 加入这句话的意思主要输出插件的调试加载信息
然后运行程序,会输出
QFactoryLoader::QFactoryLoader() checking directory path "/root/nfs/platforms" ...
Cannot load library /usr/lib/qt/plugins/platforms/libqlinuxfb.so: (libudev.so.1: cannot open shared object file: No such file or directory)
QLibraryPrivate::loadPlugin failed on "/usr/lib/qt/plugins/platforms/libqlinuxfb.so" : "Cannot load library /usr/lib/qt/plugins/platforms/libqlinuxfb.so: (libudev.so.1: cannot open shared object file: No such file or directory)"
会发现缺少libudev.so.1 这个共享库文件
qt.qpa.plugin: Could not load the Qt platform plugin “linuxfb“ in ““ even though it was found问题解决相关推荐
- 【Qt】Ubuntu18.04下解决Qt出现qt.qpa.plugin:Could not load the Qt platform plugin “xcb“问题
1.问题描述 在ubuntu18.04中第一次安装QT5,运行时报错 qtcreator.sh qt.qpa.plugin: Could not load the Qt platform plugin ...
- Ubuntu18.04下解决Qt出现qt.qpa.plugin:Could not load the Qt platform plugin “xcb“问题
Ubuntu18.04下解决Qt出现qt.qpa.plugin:Could not load the Qt platform plugin "xcb"问题 问题描述 定位问题 解决 ...
- qt.qpa.plugin: Could not load the Qt platform plugin “xcb“ in ““ even though it was found. This appl
在ubuntu上使用qt出现报错:qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" ...
- uBuntu20.04安装Qt5.15.2出现qt.qpa.plugin: Could not load the Qt platform plugin “xcb“的问题解决
由于Qt6.22太新,我不得不重新安装了Qt,同时安装了Qt6.22和Qt5.15.2,安装完毕后使用Qt6.22是没有问题的,但使用Qt5.15.2运行程序时,提示如下错误 qt.qpa.plugi ...
- 出现 qt.qpa.plugin: Could not load the Qt platform plugin “xcb“ in 的解决方法
目录 1. 问题所示 2. 解决方法 3. 补充 1. 问题所示 出现如下问题: (py17)kkjz@kkjz-ThinkStation-P330:yolov5$python main.py QOb ...
- 出现“qt.qpa.plugin: Could not load the Qt platform plugin “xcb“ in ‘ ’even though it was found
出现"qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in ' 'even though it wa ...
- 解决qt.qpa.plugin: Could not load the Qt platform plugin “xcb“ in ““ even though it was found.
项目场景: 在使用pyqt5出现问题,让人真的很头疼哇 问题描述 具体问题如下: qt.qpa.plugin: Could not load the Qt platform plugin " ...
- Ubuntu20.04下解决Qt出现qt.qpa.plugin:Could not load the Qt platform plugin “xcb“ 问题
问题描述 python调用matplotlib.pyplot库进行图形绘制时弹出错误提示: qt.qpa.plugin: Could not load the Qt platform plugin & ...
- 关于qt.qpa.plugin: Could not load the Qt platform plugin “xcb“的问题
今天在运行代码的时候出现了以下错误,经查找资料,找到了解决方法. 错误如下: QFactoryLoader::QFactoryLoader() checking directory path &quo ...
最新文章
- 读书笔记《Hadoop开源云计算平台》
- 敏捷个人架构图 V1.3
- QT学习:读写二进制文件
- 数据库性能优化—数据库连接池
- Wijmo 更优美的jQuery UI部件集:复合图表(CompositeChart)
- uva 1631——Locker
- java学习(44):引用参数传递
- 简单实现x的n次方pta_Day12 :数值的整数次方
- 如何在 Mac 上恢复已删除的照片?
- 解决从github下载项目速度过慢
- 拓端tecdat|Nelsen-Siegel—Svensson扩展模型简介
- 是否要从单片机转为嵌入式Linux?
- 明链、暗链、黑链分别是什么意思
- android移动应用开发实践教程,分享一些行业经验,成功入职阿里
- couchbase java view_基于Java的Couchbase使用入门
- git官网下载速度太慢解决方法
- 什么是POE交换机?POE交换机的作用
- php empty 0问题,解析:php empty 和空字符串区别
- adb 查看固件版本
- 2019年最新出搜索引擎蜘蛛网页爬虫大全
热门文章
- mysql取中间的10个数据_数据库取中间几条记录
- 数据挖掘基础:度量数据的相似性和相异性
- pytorch版 RGB_to_HSV和HSV_to_RGB
- 项目管理之项目进度管理
- web存储三种方式:cookie、sessionStorage、localStorage
- 以canvas为动态网页背景,添加的标签内容不显示(附源码-----动态背景星空)
- 用html语言编写的文件的扩展名是,Web编程语言的常见文件扩展名是什么?
- 无线传感网络技术与应用项目化教程(二)
- 生物到计算机跨考408------我独特的经验
- 热烈庆祝菏泽市牡丹区女企业家协会成立 太爱肽吴霞董事长当选第一届名誉会长