我按照《qt4和qtopia编程开发指南》做第一个加法计算器的程序。编译buildhost.sh时出现下面的错误提示,不知道有没有人遇到过,帮忙指点一二?我用的是redhat5的系统。另外qt的安装路径我没有完全按照用户手册配置,下面写的都是对的,只是在/opt/Qt/x86-qtopia/qtopia-2.2.0-FriendlyARM/qt2/下面找不到mkspecs。
[root@localhost mycalc]# ./buildhost.sh
Could not find mkspecs for your QMAKESPEC after trying:
/opt/Qt/x86-qtopia/qtopia-2.2.0-FriendlyARM/qt2/mkspecs
/opt/Qt/x86-qtopia/qtopia-2.2.0-FriendlyARM/qtopia/mkspecs
/opt/Qt/x86-qtopia/qtopia-2.2.0-FriendlyARM/qtopia/mkspecs
/opt/Qt/x86-qtopia/qtopia-2.2.0-FriendlyARM/qt2
/opt/Qt/x86-qtopia/qtopia-2.2.0-FriendlyARM/qtopia
Error processing project file: /opt/apps/qtopia2_apps/mycalc/mycalc.pro
make: Makefile.host: No such file or directory
make: *** No rule to make target `Makefile.host'. Stop.
make: Makefile.host: No such file or directory
make: *** No rule to make target `Makefile.host'. Stop.