如果编译时候出现错误:QMAKESPEC has not been set, so configuration cannot be deduced.
则Error processing project file: XXXXX.pro
是QMAKESPEC变量没有设置好
export QMAKESPEC=/opt/my-i.mx6/rootfs/usr/local/Trolltech/QtEmbedded-4.7.4-arm/mkspecs/qws/linux-arm-fsl-gnueabi-g++