Qt 4.8.5 icpc: Command not found

icpc: Command not found

交叉编译Qt4.8.5的时候出现👎 error: icpc: Command not found
剑锋以前解决了,但是后来我每次写一个新的QT程序都会出现这样的错误现在记录下来。

解决方法:
1. 点击 Project 设置,选择交叉编译的kits.
2. Build Steps --> Details
3. qmake build configuration --> Release
4. Additional arguments:
5. 添加   -spec qws/arm-linux-gnueabihf-g++ 

引用:http://www.cnblogs.com/zengjfgit/p/4744507.html

保存,编译,看还会不会出现这样的错误。

posted @ 2017-01-12 09:52  陈富林  阅读(1067)  评论(0)    收藏  举报