qt编程问题
发表于:2007-05-26来源:作者:点击数:
标签:
这是我的环境变量设置: _=/usr/sbin/xwsh LANG=C PATH=/usr/nekoware/qt/bin:/usr/nekoware/bin:/usr/nekoware/qt/bin:/usr/nekoware/bin:/usr/sbin:/usr/bsd:/sbin:/usr/bin:/etc:/usr/etc:/usr/bin/X11 NOMSGLABEL=1 XUSERFILESEARCHPATH=//.desktop-IRIS
这是我的环境变量设置:
_=/usr/sbin/xwsh
LANG=C
PATH=/usr/nekoware/qt/bin:/usr/nekoware/bin:/usr/nekoware/qt/bin:/usr/nekoware/bin:/usr/sbin:/usr/bsd:/sbin:/usr/bin:/etc:/usr/etc:/usr/bin/X11
NOMSGLABEL=1
XUSERFILESEARCHPATH=//.desktop-IRIS/%N://%N://.desktop-IRIS/0.0/%N
LOGNAME=root
MAIL=/usr/mail/root
CPLUS_INCLUDE_PATH=/usr/nekoware/qt/include:/usr/nekoware/qt/include
USER=root
MSGVERB=text:action
LASTLOGIN=Last login: Thu Sep 23 22:55:08 CST 2004 on :0
DISPLAY=:0.0
SHELL=/bin/csh
HOME=/
SGI_TZ_TAG=cn_cst
TERM=iris-ansi
LD_LIBRARY_PATH=/usr/nekoware/qt/lib:/usr/nekoware/qt/lib
QTDIR=/usr/nekoware/qt
QMAKESPEC=irix-g++
PWD=/usr/nekoware/qt/examples/hello
TZ=CST-8
WINEDITOR=/usr/sbin/nedit
NOMSGSEVERITY=1
LIBRARY_PATH=/usr/nekoware/qt/lib
WINDOWID=50331654
下面是我的编译截图
|
En_route 回复于:2004-09-25 17:58:49
| Please follow this link
http://forums.nekochan.net/viewtopic.php?p=26360#26360
Briefly, the problem lies with the difference in the namespace used by g++ and sgi's CC. The current nekoware Qt and sgi freeware were compiled via sgi's CC. So the solution, as suggested by [color=blue:37c2aa3956]ShadeOfBlue[/color:37c2aa3956] and confirmed by [color=blue:37c2aa3956]Dexter1(who prepared the nekochan Qt tardist [/color:37c2aa3956], is to [color=orange:37c2aa3956]compile Qt using g++.[/color:37c2aa3956]
My apologies if my previous postings point you to the wrong direction.
Meanwile, you may wish to join the above nekochan forum thread on any other comments/problems you encountered.
| samcd 回复于:2004-09-26 17:05:55
| thank u for ur help.
i'm appreciated for ur bringing forward my problem on that forum, and making some experiments.it must take ur much time:)
though i don' t know how to go on it, (maybe just wait tDexter1's suclearcase/" target="_blank" >ccssful work)but i know the problem point where it is. u took me a further step. i don't give up!
i have joined nekochan forum.
| En_route 回复于:2004-09-26 19:02:42
| [quote:20496b180f="samcd"]
though i don' t know how to go on it, (maybe just wait ..........[/quote:20496b180f]
I think dexter1 is suggesting me to compile our own Qt using g++ from source.
You have a faster machine at your disposal. Perhaps you can give it a try. Current Qt version is 3.3.3. And I'm compiling it since last night -- yet to be finished . My machine is a humble O2 180 MHz 256 MB RAM...
BTW, you may consider adding the multi-threaded option, libqt-mt
|
| En_route 回复于:2004-09-26 19:06:25
| 2. Start of configuration/compilation...
|
| En_route 回复于:2004-09-26 19:10:18
| 3. libqt-3.3.3 completed (took something like 6~7 hours -- see time-stamp of directories [color=orange:3a3968dfe6]lib, bin etc.[/color:3a3968dfe6] since configuration...)
|
| En_route 回复于:2004-09-26 19:13:36
| 4. And the designer, assistant etc. (another 7 hrs or so...)
|
| En_route 回复于:2004-09-26 19:30:51
| 5. And my O2 is still working hard on the misc. stuff...
|
|
|
|
|
|
|
|
| |
|