在编译好qt源代码后,手动将其添加至qtcreator里,qt前面出现感叹号,并显示“no chain can produce code for this qt version please define one or more tool chains”,
参考http://comments.gmane.org/gmane.comp.lib.qt.creator/7035
终于找到解决办法,在tools里面的options的build&run,在tool chains里添加gcc的路径,具体步骤如下:
Add GCC;
Browse路径,找到arm-linux-gcc安装路径下的bin目录,open即可