首页 / 操作系统Linux / 帖子

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

作者 happy_li 2019-11-25 15371 次浏览 1 条回复 论坛存档
h
happy_li
2019-11-25
楼主

需要采用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.

请问如何解决?

这是论坛时期的原帖存档,只读。新的讨论请到 提问, 沉淀下来的内容会进 知识库 和 方案库。