需要采用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: *** [helloqt] 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.