新手入门
- 积分
- 8
- 金钱
- 8
- 注册时间
- 2021-9-1
- 在线时间
- 2 小时
|
1金钱
按照教程 【正点原子】ZYNQ Qt & OpenCV开发环境搭建_V1.1 一步一步安装QT。。
Linux x86可以编译通过。。
关闭QT,source environment-setup-cortexa9hf-neon-xilinx-linux-gnueabi, 功能正常。
然后想看下交叉编译功功能,打QT,再新建一个空白项目,编译出错如下。。。请大神们帮指点一下如何弄。。
/opt/petalinux/2018.3/sysroots/cortexa9hf-neon-xilinx-linux-gnueabi/usr/lib/qt5/mkspecs/features/resolve_config.prf:25: 'addExclusiveBuilds' is not a recognized test function.
/opt/petalinux/2018.3/sysroots/cortexa9hf-neon-xilinx-linux-gnueabi/usr/lib/qt5/mkspecs/features/resolve_config.prf:37: 'addExclusiveBuilds' is not a recognized test function.
Project WARNING: CONFIG-=import_qpa_plugin is deprecated. Use QTPLUGIN.platforms=- instead.
make: c: Command not found
make: [main.o] Error 127 (ignored)
make: c: Command not found
make: [mainwindow.o] Error 127 (ignored)
|
最佳答案
查看完整内容[请看2#楼]
搞定了。。
source 命令后,
一定要要用终端打开QT qtcreator.sh &
这个教程版本没有提到这个细节。。另外一本教程 Imx6ull 开发板那本就有提到。
|