+ -
当前位置:首页 → 问答吧 → qte编译问题~!

qte编译问题~!

时间:2005-07-27

来源:互联网

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,之后不能进行下去了
不知道是什么原因。:confused: :confused:      

作者: YOYOMA2008   发布时间: 2005-07-27

原因是脚本要运行一些二进制文件,但是这些二进制文件可能不是本机体系,无法执行。所以就出现问题了。
这个没有技术问题,就是工作量的问题:自己修改这些文件。      

作者: 风雪狂客   发布时间: 2005-07-28

我是一个刚开始的新手,遇到了下面的问题,楼上两位能帮帮我吗!
我把mizi linux2.0中的软件包全部按装后,在 linux上运行 /opt/host/i386/X11R6//bin/xinx.sh后
再运行run  然后就出现了下面问题
[adapter]phone device open error![-1]
[adapter]ppp control device open error![-1]
这是怎么回事啊那位帮我解释一下 
参考网站:[url="http://www.mizi.com/developer/mz20"]http://www.mizi.com/developer/mz20[/url]
<!-- / message -->      

作者: zhuyf0522   发布时间: 2005-07-28

常常遇到等错误,斑竹说的对。
qmake 肯定是i386 的才能执行,用file查看就知。
uic, moc 有时也有这样的问题。      

作者: starwpl   发布时间: 2005-08-09