移植好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问题解决相关推荐

  1. 【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 ...

  2. 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"问题 问题描述 定位问题 解决 ...

  3. 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 "" ...

  4. 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 ...

  5. 出现 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 ...

  6. 出现“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 ...

  7. 解决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 " ...

  8. 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 & ...

  9. 关于qt.qpa.plugin: Could not load the Qt platform plugin “xcb“的问题

    今天在运行代码的时候出现了以下错误,经查找资料,找到了解决方法. 错误如下: QFactoryLoader::QFactoryLoader() checking directory path &quo ...

最新文章

  1. 读书笔记《Hadoop开源云计算平台》
  2. 敏捷个人架构图 V1.3
  3. QT学习:读写二进制文件
  4. 数据库性能优化—数据库连接池
  5. Wijmo 更优美的jQuery UI部件集:复合图表(CompositeChart)
  6. uva 1631——Locker
  7. java学习(44):引用参数传递
  8. 简单实现x的n次方pta_Day12 :数值的整数次方
  9. 如何在 Mac 上恢复已删除的照片?
  10. 解决从github下载项目速度过慢
  11. 拓端tecdat|Nelsen-Siegel—Svensson扩展模型简介
  12. 是否要从单片机转为嵌入式Linux?
  13. 明链、暗链、黑链分别是什么意思
  14. android移动应用开发实践教程,分享一些行业经验,成功入职阿里
  15. couchbase java view_基于Java的Couchbase使用入门
  16. git官网下载速度太慢解决方法
  17. 什么是POE交换机?POE交换机的作用
  18. php empty 0问题,解析:php empty 和空字符串区别
  19. adb 查看固件版本
  20. 2019年最新出搜索引擎蜘蛛网页爬虫大全

热门文章

  1. mysql取中间的10个数据_数据库取中间几条记录
  2. 数据挖掘基础:度量数据的相似性和相异性
  3. pytorch版 RGB_to_HSV和HSV_to_RGB
  4. 项目管理之项目进度管理
  5. web存储三种方式:cookie、sessionStorage、localStorage
  6. 以canvas为动态网页背景,添加的标签内容不显示(附源码-----动态背景星空)
  7. 用html语言编写的文件的扩展名是,Web编程语言的常见文件扩展名是什么?
  8. 无线传感网络技术与应用项目化教程(二)
  9. 生物到计算机跨考408------我独特的经验
  10. 热烈庆祝菏泽市牡丹区女企业家协会成立 太爱肽吴霞董事长当选第一届名誉会长