中国IT动力,最新最全的IT技术教程
最新100篇 | 推荐100篇 | 专题100篇 | 排行榜 | 搜索 | 在线API文档
首 页 | 程序开发 | 操作系统 | 软件应用 | 图形图象 | 网络应用 | 精文荟萃 | 教育认证 | 硬件维护 | 未整理篇 | 站长教程
ASP JS PHP工程 ASP.NET 网站建设 UML J2EESUN .NET VC VB VFP 网络维护 数据库 DB2 SQL2000 Oracle Mysql
服务器 Win2000 Office C DreamWeaver FireWorks Flash PhotoShop 上网宝典 CorelDraw 协议大全 网络安全 微软认证
硬件维护  CPU  主板  硬盘  内存  显卡  显示器  键盘鼠标  声卡音箱  打印机  机箱电源  BIOS  网卡  C#  Java  Delphi  vs.net2005
  当前位置:> 操作系统 > IRIX
qt编程问题
作者:未知 时间:2005-09-13 16:02 出处:ChinaUnix.net 责编:chinaitpower
              摘要:qt编程问题

这是我的环境变量设置:
_=/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 succssful 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...






 En_route 回复于:2004-09-26 21:20:15
6. Example project: hello world (screenshot of a wavy "Hello world")






 En_route 回复于:2004-09-26 21:22:05
7.  Example project: chart






 En_route 回复于:2004-09-26 21:24:28
8. Example project: i18n






 En_route 回复于:2004-09-26 21:51:13
9. Example project: drawdemo

Note that in the Winterm with a Navy-blue background color, example project [color=orange:d47324b027]table/bigtable[/color:d47324b027] is being compiled... Also note the parameters used for compilation under g++....






 En_route 回复于:2004-09-26 22:01:42
10. Enlarged view of the output of ./drawdemo






 En_route 回复于:2004-09-27 00:51:45
11. The last bit...






 samcd 回复于:2004-09-29 17:02:50
thanks  to En-route. 
i'm appreciated to give me so much details
i'm trying to do it following u , and will give ur my result as  soon as possible.

关闭本页
 
首页 | 投资与合作 | 服务条款 | 隐私政策 | 收藏本站 | 设为首页 | 新用户注册 | 免责声明 | 使用帮助
Copyright ©2005-2008 chinaitpower.com All rights reserved. www.chinaitpower.com 版权所有