QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 2694|回复: 5

求助:安装qt/e编译qtopia时出错了

[复制链接]
发表于 2005-8-14 21:31:21 | 显示全部楼层 |阅读模式
小弟学习  linux没几天,现在装 qtopia 时编译qtopia时出错了。
请帮小弟看看。


代码如下:
[root@localhost zhouzhou]# cd qtopia-free-1.7.0
[root@localhost qtopia-free-1.7.0]# export QTDIR=$QTEDIR
[root@localhost qtopia-free-1.7.0]# export QPEDIR=$PWD
[root@localhost qtopia-free-1.7.0]# export PATH=$QPEDIR/bin:$PATH
[root@localhost qtopia-free-1.7.0]# cd src
[root@localhost src]# ./configure
grep: /include/qglobal.h: No such file or directory

QPE is now configured for building. Just run "make".
To reconfigure, run make clean and configure.

[root@localhost src]# make
make -C libraries/qtopia
make[1]: Entering directory `/home/zhouzhou/qtopia-free-1.7.0/src/libraries/qtopia'
make[1]: *** Warning: File `qtopia.pro' has modification time in the future (2003-06-03 20:56:41 > 2001-01-01 01:11:36.539789)
cd /home/zhouzhou/qtopia-free-1.7.0/src;        ./configure  -make libraries/qtopia
grep: /include/qglobal.h: No such file or directory

QPE is now configured for building. Just run "make".
To reconfigure, run make clean and configure.

make[1]: Leaving directory `/home/zhouzhou/qtopia-free-1.7.0/src/libraries/qtopia'
make[1]: Entering directory `/home/zhouzhou/qtopia-free-1.7.0/src/libraries/qtopia'
make[1]: *** Warning: File `qtopia.pro' has modification time in the future (2003-06-03 20:56:41 > 2001-01-01 01:11:37.18862)
cd /home/zhouzhou/qtopia-free-1.7.0/src;        ./configure   -make libraries/qtopia
grep: /include/qglobal.h: No such file or directory

QPE is now configured for building. Just run "make".
To reconfigure, run make clean and configure.

/bin/uic passwordbase_p.ui -o ./passwordbase_p.h
/bin/uic categoryeditbase_p.ui -o ./categoryeditbase_p.h
g++  -c -I/home/zhouzhou/qtopia-free-1.7.0/include -I/include -pipe -DQWS -fno-exceptions -fno-rtti -O2 -Wall -W -DNO_DEBUG -fPIC -DQTOPIA_APP_INTERFACE -DQTOPIA_WIN32PROCESS_SUPPORT -I.moc/linux-generic-g++/ -I/home/zhouzhou/qtopia-free-1.7.0/include -o .obj/linux-generic-g++//calendar.o calendar.cpp
In file included from calendar.h:23,
                 from calendar.cpp:20:
/home/zhouzhou/qtopia-free-1.7.0/include/qtopia/qpeglobal.h:25:21: qglobal.h: No such file or directory
In file included from calendar.cpp:20:
calendar.h:24:21: qstring.h: No such file or directory
calendar.h:25:24: qvaluelist.h: No such file or directory
calendar.h:26:23: qdatetime.h: No such file or directory
In file included from calendar.cpp:20:
calendar.h:44: ISO C++ forbids declaration of `QValueList' with no type
calendar.h:44: template-id `QValueList<Calendar::Day>' used as a declarator
calendar.h:44: parse error before `(' token
calendar.h:46: ISO C++ forbids declaration of `QString' with no type
calendar.h:46: parse error before `(' token
calendar.h:47: ISO C++ forbids declaration of `QString' with no type
calendar.h:47: parse error before `(' token
calendar.h:50: `QDate' was not declared in this scope
calendar.h:50: ISO C++ forbids declaration of `QValueList' with no type
calendar.h:50: template-id `QValueList<<expression error> >' used as a
   declarator
calendar.h:50: parse error before `(' token
calendar.h:52: ISO C++ forbids declaration of `QDate' with no type
calendar.h:52: parse error before `(' token
calendar.h:55: ISO C++ forbids declaration of `QDate' with no type
calendar.h:55: parse error before `(' token
calendar.h:58: parse error before `&' token
calendar.h:62: parse error before `&' token
calendar.h:65: parse error before `&' token
calendar.h:67: ISO C++ forbids declaration of `QDate' with no type
calendar.h:67: parse error before `(' token
calendar.h:68: ISO C++ forbids declaration of `QDate' with no type
calendar.h:68: parse error before `(' token
calendar.h:50: duplicate member `Calendar::QValueList'
calendar.h:47: duplicate member `Calendar::QString'
calendar.h:55: duplicate member `Calendar::QDate'
calendar.h:67: duplicate member `Calendar::QDate'
calendar.h:68: duplicate member `Calendar::QDate'
calendar.h: In constructor `Calendar::Day::Day()':
calendar.h:36: `FALSE' undeclared (first use this function)
calendar.h:36: (Each undeclared identifier is reported only once for each
   function it appears in.)
calendar.cpp:22:23: qdatetime.h: No such file or directory
calendar.cpp: At global scope:
calendar.cpp:36: syntax error before `::' token
calendar.cpp:46: syntax error before `::' token
calendar.cpp:53: syntax error before `::' token
calendar.cpp:57: syntax error before `.' token
calendar.cpp:58: `temp' was not declared in this scope
calendar.cpp:60: 'QDate' is used as a type, but is not defined as a type.
calendar.cpp:61: `Day' was not declared in this scope
calendar.cpp:61: 'QValueList' is used as a type, but is not defined as a type.
calendar.cpp:63: parse error before `if'
calendar.cpp:72: parse error before `;' token
calendar.cpp:72: syntax error before `++' token
calendar.cpp:76: syntax error before `<=' token
calendar.cpp:76: syntax error before `++' token
calendar.cpp:78: ISO C++ forbids declaration of `i' with no type
calendar.cpp:78: redefinition of `int i'
calendar.cpp:59: `int i' previously declared here
calendar.cpp:79: parse error before `while'
{standard input}: Assembler messages:
{standard input}:20: Error: symbol `i' is already defined
make[1]: *** [.obj/linux-generic-g++//calendar.o] Error 1
make[1]: Leaving directory `/home/zhouzhou/qtopia-free-1.7.0/src/libraries/qtopia'
make: *** [libraries/qtopia] Error 2
 楼主| 发表于 2005-8-15 23:16:19 | 显示全部楼层
各位大侠,知道的麻烦说一下哈。。
回复

使用道具 举报

发表于 2006-9-18 21:46:25 | 显示全部楼层
我也遇到这个问题了  是传说中的JPEG库没装吗
回复

使用道具 举报

发表于 2006-9-20 12:20:50 | 显示全部楼层
你在什么系统上编译的啊
回复

使用道具 举报

发表于 2006-9-20 15:24:06 | 显示全部楼层
按照这个流程,1.7还不是太难编过去。http://www.qiliang.net/20050908.html
qtopia2.2在pc上更容易编过去。
回复

使用道具 举报

发表于 2006-10-17 22:37:43 | 显示全部楼层
建议2.2.0
http://www.qtopia.org.cn/phpBB2/viewtopic.php?t=134
回复

使用道具 举报

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

本版积分规则

GMT+8, 2024-11-25 19:57 , Processed in 0.059945 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

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