QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1297|回复: 1

qte交叉编译~~!!!

[复制链接]
发表于 2005-7-27 14:16:28 | 显示全部楼层 |阅读模式
QTE交叉编译.
./configure -xplatform linux-arm-g++ -depths 4,8,16,32
错误如下:
Creating makefiles. Please wait..
for /usr/local/qte/src/moc/moc.pro/bin/sh: line 1: /usr/local/qte/bin/qmake: cannot
execute binary file
for /usr/local/qte/src/qt.pro
/bin/sh: line 1: /usr/local/qte/bin/qmake: cannot execute binary file
for /usr/local/qte/examples/fonts/fonts.pro
/bin/sh: line 1: /usr/local/qte/bin/qmake: cannot execute binary file
for /usr/local/qte/examples/examples.pro
/bin/sh: line 1: /usr/local/qte/bin/qmake: cannot execute binary file
for /usr/local/qte/examples/sql/sql.pro
/bin/sh: line 1: /usr/local/qte/bin/qmake: cannot execute binary file
for /usr/local/qte/examples/sql/overview/overview.pro
/bin/sh: line 1: /usr/local/qte/bin/qmake: cannot execute binary file
for /usr/local/qte/plugins/src/src.pro
/bin/sh: line 1: /usr/local/qte/bin/qmake: cannot execute binary file
for /usr/local/qte/plugins/src/gfxdrivers/gf
...................

没有正常生成makefile,之后不能进行下去了
不知道是什么原因。
发表于 2005-7-27 22:11:40 | 显示全部楼层
不知道是什么原因造成的,但是可以确定你目前调用的/usr/local/qte/bin/qmake是一个交叉编译版本,不能再主机上执行。在编译QT/Embedded时,第一步就是用gcc生成一个可以在主机上运行的qmake,为之后生成Makefile提供准备。
可以试着检查你的PATH变量,看看里面是不是包含了/usr/local/qte/bin,把这段去掉试试看。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-5 01:59 , Processed in 0.041321 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表