主题 : 交叉编译时提示fatal parsing error 复制链接 | 浏览器收藏 | 打印
级别: 新手上路
UID: 5009
精华: 0
发帖: 1
金钱: 10 两
威望: 10 点
综合积分: 2 分
注册时间: 2009-04-07
最后登录: 2009-04-26
楼主  发表于: 2009-04-07 20:47

 交叉编译时提示fatal parsing error

有冇人试过QT程序交叉编译时出现

Makefile:131: 警告:覆盖关于目标“moc_.cpp”的命令
Makefile:125: 警告:忽略关于目标“moc_.cpp”的旧命令
/home/hl/work/qtopia-free-2.2.0/qt2/bin/uic .ui -i .h -o .cpp
fatal parsing error: unexpected end of file in line 1
fatal parsing error: error while parsing prolog in line 1
Parsing error
uic: Failed to parse .ui

跪求高手啊
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5398
金钱: 40120 两
威望: 17929 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
1楼  发表于: 2009-04-08 07:51
uic .ui -i .h -o .cpp

不要动不动就下跪,出错信息都已经告诉你了,只有文件的扩展名而没有主名
"If you have an apple and I have an apple and we exchange apples, then you and I will
still each have one apple. But if you have an idea and I have an idea and we exchange
these ideas, then each of us will have two ideas."
级别: 新手上路
UID: 1222
精华: 0
发帖: 49
金钱: 490 两
威望: 391 点
综合积分: 98 分
注册时间: 2008-08-04
最后登录: 2010-11-24
2楼  发表于: 2009-04-08 10:21
廖有潮平身