Message-ID: <eamc3q$u7l$1@news.yaako.com>
Subject: kdevelop for C++��������
Date: Tue, 1 Aug 2006 09:49:28 +0800
From: "SINOX" <SINOX2006@SOHU.COM>
Path: 74.82.202.154!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-cn.bbs.comp.unix.development.mbox.zip!g2news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!news.cn99.com!news.yaako.com!not-for-mail
Newsgroups: cn.bbs.comp.unix.development
Organization: SINOX CO.ltd
Lines: 209
Reply-To: "SINOX" <SINOX2006@SOHU.COM>
NNTP-Posting-Host: 222.216.6.96
X-Trace: news.yaako.com 1154397114 30965 222.216.6.96 (1 Aug 2006 01:51:54 GMT)
X-Complaints-To: usenet@news.yaako.com
NNTP-Posting-Date: Tue, 1 Aug 2006 01:51:54 +0000 (UTC)
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
Xref: 74.82.202.154 cn.bbs.comp.unix.development:1092

sinox����kdevelop for C++��������

�洗���写��vc���屎峡��������篇����,���到kdevelop�����������.��么���������
���欠��vc�冉���?�����将�业���.�将������sinox���开���������么�虻シ���!
��使�不����c++����,��也要��kdevelop!kdevelop��sinox�����准���踊���������!

���潜�站为sinox�没���频�kdevelop学习�坛�,旨�诎���sinox�没�迅������kdevelop
��������,���枪����������kdevelop�������沤坛�.

kdevelop for C++��一�����踊���������,��C++Builder,Delphi����.

����kdevelop��IDE for c/c++.kdevelop�本��3.2.2(使��kde3.4.2)

1.��������
选�窆こ滩说����陆�����
选��c++/Kde/Appliation Framework,����应�贸�����坪�����路��.然��next直�����
,选���约������要����.

2.����执��
���诳���执�斜���说���执�谐���,�����automake���贸���,然�����执��.
����时��������麓���!
UNAME_VERSION = Sinox 1.2-RELEASE #0: Mon Jan 9 01:22:17 UTC 2006
root@sinox.shouji88.com:/usr/obj/usr/src/sys/GENERIC
configure: error: cannot guess build type; you must specify one�薹��虏����
����系统����,��指��一��!
*** �顺�状态��1 ***
������为���kdevelop����freebsd�卤��开����,automake���freebsd���帽���选��.
��sinox��没���约��谋���选��!���员������!
�����换������configure��admin/config.guess�����募�freebsd��执�小写�换
,configure��freebsd,config.guess��FreeBSD�换.
�������募���通�玫�,�麓胃��频��碌���目����!��要��sinox��������源���也����
要������.
��������模��simple KDE Application��simple Designed Based KDE Application��
��通��.Appliation Framework没通��.
源������src,������po.通��滩说�������臃���,��po目录�����一��
zh_CN.GB2312.po,双����Kbabel��.���诜����院��俨���.���函����i18N.
源������main.cpp为������,��main����.

3.��咏���
�掖�simple Designed Based KDE Application����一����目.���募��说��陆�����一��
�募�,������ui(user interface�没�����),cpp,h.
��选��Dialog wid buttons(Bottom)ui,����form1,��src���一��form1.ui�募�,双��
��,����一���?����.
�薷谋?����,������一��pushButton,��双������clicked�录�.
����要������?���创��一����.�佣�实�直��.
选��form1.ui,�壹�说�执��create or select implementation,���纸�������.�掖���
���� form1,然�����form1.h��form1.cpp�����募�.
signal��slot, signal�欠����录�,slot�墙��沾����录�. connect�前��录������,��
slot����.������connects�������录�, slots���录������状态.
Widget�谴��诨���.
ui�慕���丶�����,���园���迅�倏����������.ui���一��xml�募��募�.
��库开����慰��牡�Creating Dadabase Application,������莞�知�丶�,���也��
����.
ui�辑���源�����菘�����,����->database connections.����创����菘�����,��
����直����.�������芊�������菘�.
��没�锌������玫������,������要��装.����������映���driver is not loaded��
��.mysql��QMYSQL3�����,默�隙丝�3306

4.�录����
���诩��按钮pushButton.选�屑���陌�钮,选�����钥�� signal handler�录�,双��
clicked����一��pushButton2_clicked�录�!双��clicked�录���������叩墓���图��
(��时���薹���������,只��双��clicked),���������.����.h,.cpp�远������录���
��!���������delphi��.
��������,��钮��么没�谐���?选��form1.ui,�壹�说�执��create or select
implementation,选��使�����械�����,确��.����母�����要���赂��碌�����!�������
����要������.���?��,���卤�������.
��������劝呀�����坪�,��写����.

5.使�每丶�����
UI�锌丶�����一������,����textLabel2,���强������录���直�痈���值
textLabel2->setText( "pushbutton2" );
����������.h,.cpp�募���没�锌�����亩���,��么������?�诒�����傻�.moc�募�����
�����录��亩���痛���,���腔���没�锌����丶���������.
�������诠��函����.
button = new QPushButton( this, "button" );
button->setGeometry( QRect( 11, 124, 198, 27 ) );

6.�系����
�系����煤�涂��缘���执��,����执��,��gdb����,���苑����,��栈���,������C++��
����������.

7.�丶���头强��踊���
��些��使�梅�����要�慰�����学习,kdevelop�刹������芨�知��,������示���址�������
,���曰���要�点工����悉qt��.
����欠强��踊�����,������c++��������,使�� C++���,没���魏�������.qt����前��
�懈�Q��母.

8.�牡�����
�冶叻�页�牡����查看�������园���,������英�牡�.�亩���������哟���.������
��.

9.�芙�
kedevelop for C++����一��c++builder�目��踊���������,��vc�呒�( VC��ID��强丶�
,�浅�����),���开��������.����gcc����.
��然kedevelop�������芄���为C++��������,���歉��旨�������缘目�������
,php,java,perl�鹊�.
�����������,�� sinox���开�������������!���愿�windows����!
��站写�牡�一篇���沤坛�,只����砖����,希�����院�写����玫慕坛�����.
��然��希�������鼙�写�统����泄�kdevelop�籍,�墙�����sinox���������迅�俜�展.

�������芯��始�.
���很多开源����������诓�同��unix/linux�媳���,����圆�同����系统�������募�
���没��sinox���镁突��薹�����.����时��������么����?�����址���,一��������
sinox����系统�谋���选��,��一�值��薷�freebsd�谋���选��为sinox.
�����薷牡��募���configure��admin/config.guess�������募�!���������募��邪�����
���莞�为sinox!
������些
*:FreeBSD:*:*|*:GNU/FreeBSD:*:*)
��为
*:Sinox:*:*|*:GNU/FreeBSD:*:*)

�约�
freebsd*)
��为
sinox*)

��住只��一��前��*)前���freebsd�亩�,����牟�要�亩�(������,��������么��?����
freebsd-elf*))
��������通�����晒���!

./configure
checking build system type... admin/config.guess: unable to guess system
type

This script, last modified 2003-07-02, has failed to recognize
the operating system you are using. It is advised that you
download the most up to date version of the config scripts from

ftp://ftp.gnu.org/pub/gnu/config/

If the version you run (admin/config.guess) is already up to date, please
send the following data and any information you think might be
pertinent to in order to provide the needed
information to handle your system.

config.guess timestamp = 2003-07-02

uname -m = i386
uname -r = 1.2-RELEASE
uname -s = Sinox
uname -v = Sinox 1.2-RELEASE #0: Mon Jan 9 01:22:17 UTC 2006
root@sinox.shouji88.com:/usr/obj/usr/src/sys/GENERIC

/usr/bin/uname -p = i386
/bin/uname -X =

hostinfo =
/bin/universe =
/usr/bin/arch -k =
/bin/arch =
/usr/bin/oslevel =
/usr/convex/getsysinfo =

UNAME_MACHINE = i386
UNAME_RELEASE = 1.2-RELEASE
UNAME_SYSTEM = Sinox
UNAME_VERSION = Sinox 1.2-RELEASE #0: Mon Jan 9 01:22:17 UTC 2006
root@sinox.shouji88.com:/usr/obj/usr/src/sys/GENERIC
configure: error: cannot guess build type; you must specify one
sinox# ./configure
checking build system type... admin/config.guess: unable to guess system
type

This script, last modified 2003-07-02, has failed to recognize
the operating system you are using. It is advised that you
download the most up to date version of the config scripts from

ftp://ftp.gnu.org/pub/gnu/config/

If the version you run (admin/config.guess) is already up to date, please
send the following data and any information you think might be
pertinent to in order to provide the needed
information to handle your system.

config.guess timestamp = 2003-07-02

uname -m = i386
uname -r = 1.2-RELEASE
uname -s = Sinox
uname -v = Sinox 1.2-RELEASE #0: Mon Jan 9 01:22:17 UTC 2006
root@sinox.shouji88.com:/usr/obj/usr/src/sys/GENERIC

/usr/bin/uname -p = i386
/bin/uname -X =

hostinfo =
/bin/universe =
/usr/bin/arch -k =
/bin/arch =
/usr/bin/oslevel =
/usr/convex/getsysinfo =

UNAME_MACHINE = i386
UNAME_RELEASE = 1.2-RELEASE
UNAME_SYSTEM = Sinox
UNAME_VERSION = Sinox 1.2-RELEASE #0: Mon Jan 9 01:22:17 UTC 2006
root@sinox.shouji88.com:/usr/obj/usr/src/sys/GENERIC
configure: error: cannot guess build type; you must specify one
sinox# ./configure �薷��院�
checking build system type... i386-unknown-freebsd1.2
checking host system type... i386-unknown-freebsd1.2
checking target system type... i386-unknown-freebsd1.2
checking for a BSD-compatible install... /usr/bin/install -c
checking for -p flag to install... yes


Trackback: http://tb.blog.csdn.net/TrackBack.aspx?PostId=832541