主题 : qt编译X86应用程序出错 复制链接 | 浏览器收藏 | 打印
级别: 新手上路
UID: 112322
精华: 0
发帖: 28
金钱: 145 两
威望: 29 点
贡献值: 0 点
综合积分: 56 分
注册时间: 2015-01-23
最后登录: 2015-09-18
楼主  发表于: 2015-07-10 17:37

 qt编译X86应用程序出错

按照手册做计算器界面的实验,运行./buildhost.sh

出现 

./buildhost.sh: 3: source: not found
Could not find mkspecs for your QMAKESPEC after trying:
    /usr/mkspecs
    /usr/share/qt3/mkspecs
    /usr/share/qt3
Error processing project file: /opt/FriendlyARM/mini210/linux/x86-qtopia/qtopia-2.2.0-FriendlyARM/*.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.


为什么会去/usr/mkspecs/usr/share/qt3/mkspecs
/usr/share/qt3这三个路去找呢,qt装在/opt/FriendlyARM/mini210/linux/x86-qtopia下的啊计算器界面/opt/FriendlyARM/mini210/linux/x86-qtopia/myqt_apps/mycalcqt2.2.0编译好了的,在x86上运行处qt界面, 求大神指导一下
级别: 新手上路
UID: 112322
精华: 0
发帖: 28
金钱: 145 两
威望: 29 点
贡献值: 0 点
综合积分: 56 分
注册时间: 2015-01-23
最后登录: 2015-09-18
1楼  发表于: 2015-07-11 13:20
已解决