my first kde 4 app(hello world)

ten speme myspeme at gmail.com
Sun Apr 15 03:35:28 CEST 2007


虽然网络成天出问题,反正我还是访问原始地址。总之都有办法。有本事把国际出口掐了.

On 4/15/07, Liang Qi <cavendish.qi at gmail.com> wrote:
>
> 现在才想起来,是不是国内上blogspot时灵时不灵的。
> (btw,我现在一般都是用google reader看blog, rss订阅的。不知道国内用google
> reader订阅blogspot是不是效果会好些?)
>
> 下面是原文(另外已经进行了几个其它的kde
> 4应用代码编译,都很好,cmake的提示也很有意思,就是不知道有什么命令可以保留源代码和CMakeLists.txt,其它的都删掉。)
>
> 我的第一个KDE4应用
>
> 当然还是Hello World了。
>
> OpenSuSE 10.2最小的X安装,然后装入OpenSuSE KDE Team每周根据KDE
> 4的svn做好的包就可以了。我只是装了cmake, qt4, strigi, kdelibs, kdepimlibs,
> kdebase,当然下面文档中提及的KDE 4所依赖的那些东西也得装。然后就可以Hello World了。
>
> gcc编译方式和cmake编译方式都已经通过,又是一些输入错误,下次还是好好copy/paste吧。
>
>
> gcc main.cpp -o tutorial1 -I/usr/include -I/usr/include/Qt \
> -I/usr/include/QtCore -I/usr/include/KDE -L/usr/lib \
> -lQtCore -lQtGui -lkdeui -lkdecore
>
> 参考的文档:
> KDE 4 on OpenSuSE 10.2
> http://software.opensuse.org/download/KDE:/KDE4/openSUSE_10.2/
>
> Getting Started/Build/KDE4
> http://techbase.kde.org/Getting_Started/Build/KDE4
>
> Getting Started/Set up KDE 4 for development
> http://techbase.kde.org/Getting_Started/Set_up_KDE_4_for_development
>
> Development/Tutorials/Programming Tutorial KDE 4/First program
>
> http://techbase.kde.org/Development/Tutorials/Programming_Tutorial_KDE_4/First_program
>
> --
> http://www.qiliang.net
> http://www.qtopia.org.cn
> http://cavendishqi.blogspot.com
> http://www.kdecn.org
> _______________________________________________
> kde-china mailing list
> kde-china at kde.org
> https://mail.kde.org/mailman/listinfo/kde-china
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/kde-china/attachments/20070415/f7594c7e/attachment.html 


More information about the kde-china mailing list