happy_li 发表于 2019-11-25 10:04:51

ZYNQ-M7020 QT不能直接可以在开发板运行的程序?

需要采用M7020的qmake和GCC字节编译出可以在开发板上可以运行的程序,配置为qt-lab里面的qmake和GCC,会报以下错误:
/usr/bin/ld: skipping incompatible /mnt/workspace/qt5-lab/images/qt5-arm-5.11.2/lib/libQt5Widgets.so when searching for -lQt5Widgets
/usr/bin/ld: cannot find -lQt5Widgets
/usr/bin/ld: skipping incompatible /mnt/workspace/qt5-lab/images/qt5-arm-5.11.2/lib/libQt5Gui.so when searching for -lQt5Gui
/usr/bin/ld: cannot find -lQt5Gui
/usr/bin/ld: skipping incompatible /mnt/workspace/qt5-lab/images/qt5-arm-5.11.2/lib/libQt5Core.so when searching for -lQt5Core
/usr/bin/ld: cannot find -lQt5Core
Makefile:131: recipe for target 'helloqt' failed
collect2: error: ld returned 1 exit status
make: *** Error 1
21:03:46: 进程"/usr/bin/make"退出,退出代码 2 。
Error while building/deploying project helloqt (kit: Qt 5.11.2 (qt5-arm-5.11.2))
The kit Qt 5.11.2 (qt5-arm-5.11.2) has configuration issues which might be the root cause for this problem.
When executing step "Make"
21:03:46: Elapsed time: 00:04.

请问如何解决?

uisrc 发表于 2019-11-26 10:53:50

看下这篇文章https://www.uisrc.com/portal.php?mod=view&aid=195
页: [1]
查看完整版本: ZYNQ-M7020 QT不能直接可以在开发板运行的程序?