Difference between revisions of "Development/Languages/zh-cn"

Jump to: navigation, search
(Created page with "* QtScript - QtScript绑定构建器。")
(Created page with "* SIP - 用于产生Python绑定。")
Line 29: Line 29:
* [[Development/Languages/QtScript|QtScript]] - QtScript绑定构建器。
* [[Development/Languages/QtScript|QtScript]] - QtScript绑定构建器。
* [[Development/Languages/SIP|SIP]] - Used to generate the bindings for Python.
* [[Development/Languages/SIP|SIP]] - 用于产生Python绑定。
==Support for Qt3 / KDE3==
==Support for Qt3 / KDE3==

Revision as of 07:05, 4 August 2012

Other languages:Greek 100% • ‎English 100% • ‎Dutch 100% • ‎Brazilian Portuguese 57% • ‎Chinese (China) 100%

KDE支持多种的编程语言用于KDE 4的开发。







  • Smoke - 为用于创建诸如Ruby、C#和PHP之类的多语言绑定提供基础。
  • Kross - 为C++应用程序提供内嵌脚本。多语言,诸如Python、Ruby、JavaScript、QtScript、Falcon和Java已经被支持。
  • SIP - 用于产生Python绑定。

Support for Qt3 / KDE3

Building current git master

It is recommended to have the following in ~/.gitconfig:

[url "git://anongit.kde.org/"]
    insteadOf = kde:
[url "ssh://git@git.kde.org/"]
    pushInsteadOf = kde:

to pull from the anongit servers, but push to the main git server.

Clone the repositories with

git clone kde:smokegen
git clone kde:smokeqt
git clone kde:smokekde
git clone kde:qtruby
git clone kde:korundum
git clone kde:qyoto
git clone kde:kimono
git clone kde:perlqt
git clone kde:perlkde
git clone kde:kross-interpreters

Building happens as usual with

cmake <src-dir> -DCMAKE_INSTALL_PREFIX=/usr
make install

Smokegen has to be built first, then smokeqt and smokekde. After that you can then build the various language bindings. Note that the KDE bindings part always depends on the Qt part - so you have to build this one first.

kross-interpreters contains the language plugins for kross. They do not depend on any of the above.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V.Legal