当前位置:网站首页>anno arm移植Qt环境后,编译正常,程序无法正常启动问题的记录
anno arm移植Qt环境后,编译正常,程序无法正常启动问题的记录
2022-08-09 17:24:00 【hellozhengyuan】
anno arm移植Qt环境后,编译正常,程序无法正常启动问题的记录
Cannot load library libqxcb.so: (libQt5XcbQpa.so.5: symbol , version Qt_5_PRIVATE_API not defined in file libQt5Gui.so.5 with link time reference)
在Arm板上移植Qt环境后(源码重新编译方式install),对程序能够编译,但是在启动程序时报错:
Got keys from plugin meta data ("xcb")
QFactoryLoader::QFactoryLoader() checking directory path "/home/smartcamera/advertiser/release/platforms" ...
Cannot load library /opt/qt/plugins/platforms/libqxcb.so: (/opt/qt/plugins/platforms/../../lib/libQt5XcbQpa.so.5: symbol _ZN11QFontEngine14bitmapForGlyphEj6QFixedRK10QTransform, version Qt_5_PRIVATE_API not defined in file libQt5Gui.so.5 with link time reference)
QLibraryPrivate::loadPlugin failed on "/opt/qt/plugins/platforms/libqxcb.so" : "Cannot load library /opt/qt/plugins/libqxcb.so: (/opt/qt/plugins/platforms/../../lib/libQt5XcbQpa.so.5: symbol _ZN11QFontEngine14bitmapForGlyphEj6QFixedRK10QTransform, version Qt_5_PRIVATE_API not defined in file libQt5Gui.so.5 with link time reference)"
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Available platform plugins are: eglfs, minimal, minimalegl, offscreen, vnc, xcb.
Aborted (core dumped)
此问题尝试了各种网络上的解决办法,关于环境的设置和生效也尝试过,也不能确定是不是因为插件版本的问题导致,但是在arm板上依然没有得到解决,中止。
边栏推荐
猜你喜欢
随机推荐
Engaged in software testing for a year, only basic functional testing, how to further study?
win10 uwp 手动锁Bitlocker
测试开发是什么,为什么现在这么吃香?
低代码平台和专业开发人员——完美搭档?
Unix domain socket
动态RDLC报表(三)
动态RDLC报表(二)
从事软件测试一年,只会基础的功能测试,怎么进一步学习?
毕昇编译器优化:Lazy Code Motion
Volatile: JVM I warn you, my people don't move
动态RDLC报表(四)
IMX6ULL—汇编LED灯
神秘的程序员(20-30)
CPU状态信息us,sy,ni,id,wa,hi,si,st含义
Prometheus full installation
艺术与科技的狂欢,云端XR支撑阿那亚2022砂之盒沉浸艺术季
Discuz! Forum program installation + template configuration tutorial
动态RDLC报表(五)
解决启动项目初始化报错required a bean of type ‘int‘ that could not be found.的问题
第三方bean使用ConfigurationProperties注解获取yml配置文件数据 & 获取yml配置文件数据的校验



![[Pycharm easy to use function]](/img/f8/4c131516033286ba8bcb511d395462.png)




