• 软件测试技术
  • 软件测试博客
  • 软件测试视频
  • 开源软件测试技术
  • 软件测试论坛
  • 软件测试沙龙
  • 软件测试资料下载
  • 软件测试杂志
  • 软件测试人才招聘
    暂时没有公告

字号: | 推荐给好友 上一篇 | 下一篇

qt编程问题

发布: 2007-6-08 22:43 | 作者: seanhe | 来源: ChinaUnix.net

软件测试论坛讨论

领测软件测试网
这是我的环境变量设置:
_=/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.

延伸阅读

文章来源于领测软件测试网 https://www.ltesting.net/


关于领测软件测试网 | 领测软件测试网合作伙伴 | 广告服务 | 投稿指南 | 联系我们 | 网站地图 | 友情链接
版权所有(C) 2003-2010 TestAge(领测软件测试网)|领测国际科技(北京)有限公司|软件测试工程师培训网 All Rights Reserved
北京市海淀区中关村南大街9号北京理工科技大厦1402室 京ICP备2023014753号-2
技术支持和业务联系:info@testage.com.cn 电话:010-51297073

软件测试 | 领测国际ISTQBISTQB官网TMMiTMMi认证国际软件测试工程师认证领测软件测试网