虽然网络成天出问题,反正我还是访问原始地址。总之都有办法。有本事把国际出口掐了.<br><br><div><span class="gmail_quote">On 4/15/07, <b class="gmail_sendername">Liang Qi</b> <<a href="mailto:cavendish.qi@gmail.com">cavendish.qi@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
现在才想起来,是不是国内上blogspot时灵时不灵的。<br>(btw,我现在一般都是用google reader看blog, rss订阅的。不知道国内用google reader订阅blogspot是不是效果会好些?)<br><br>下面是原文(另外已经进行了几个其它的kde<br>4应用代码编译,都很好,cmake的提示也很有意思,就是不知道有什么命令可以保留源代码和CMakeLists.txt,其它的都删掉。)<br><br>我的第一个KDE4应用
<br><br>当然还是Hello World了。<br><br>OpenSuSE 10.2最小的X安装,然后装入OpenSuSE KDE Team每周根据KDE<br>4的svn做好的包就可以了。我只是装了cmake, qt4, strigi, kdelibs, kdepimlibs,<br>kdebase,当然下面文档中提及的KDE 4所依赖的那些东西也得装。然后就可以Hello World了。<br><br>gcc编译方式和cmake编译方式都已经通过,又是一些输入错误,下次还是好好copy/paste吧。
<br><br><br>gcc main.cpp -o tutorial1 -I/usr/include -I/usr/include/Qt \<br>-I/usr/include/QtCore -I/usr/include/KDE -L/usr/lib \<br>-lQtCore -lQtGui -lkdeui -lkdecore<br><br>参考的文档:<br>KDE 4 on OpenSuSE 10.2<br><a href="http://software.opensuse.org/download/KDE:/KDE4/openSUSE_10.2/">
http://software.opensuse.org/download/KDE:/KDE4/openSUSE_10.2/</a><br><br>Getting Started/Build/KDE4<br><a href="http://techbase.kde.org/Getting_Started/Build/KDE4">http://techbase.kde.org/Getting_Started/Build/KDE4</a><br>
<br>Getting Started/Set up KDE 4 for development<br><a href="http://techbase.kde.org/Getting_Started/Set_up_KDE_4_for_development">http://techbase.kde.org/Getting_Started/Set_up_KDE_4_for_development</a><br><br>Development/Tutorials/Programming Tutorial KDE 4/First program
<br><a href="http://techbase.kde.org/Development/Tutorials/Programming_Tutorial_KDE_4/First_program">http://techbase.kde.org/Development/Tutorials/Programming_Tutorial_KDE_4/First_program</a><br><br>--<br><a href="http://www.qiliang.net">
http://www.qiliang.net</a><br><a href="http://www.qtopia.org.cn">http://www.qtopia.org.cn</a><br><a href="http://cavendishqi.blogspot.com">http://cavendishqi.blogspot.com</a><br><a href="http://www.kdecn.org">http://www.kdecn.org
</a><br>_______________________________________________<br>kde-china mailing list<br><a href="mailto:kde-china@kde.org">kde-china@kde.org</a><br><a href="https://mail.kde.org/mailman/listinfo/kde-china">https://mail.kde.org/mailman/listinfo/kde-china
</a><br></blockquote></div><br>