Languages/zh-cn: Difference between revisions
(Created page with "==语言绑定技术与内嵌语言==") |
(Created page with "* Smoke - 为用于创建诸如Ruby、C#和PHP之类的多语言绑定提供基础。") |
||
Line 23: | Line 23: | ||
==语言绑定技术与内嵌语言== | ==语言绑定技术与内嵌语言== | ||
* [[Development/Languages/Smoke|Smoke]] - | * [[Development/Languages/Smoke|Smoke]] - 为用于创建诸如Ruby、C#和PHP之类的多语言绑定提供基础。 | ||
* [[Development/Languages/Kross|Kross]] - Provides embedded scripting for C++ applications. Multiple languages such as Python, Ruby, JavaScript, QtScript, Falcon and Java are supported. | * [[Development/Languages/Kross|Kross]] - Provides embedded scripting for C++ applications. Multiple languages such as Python, Ruby, JavaScript, QtScript, Falcon and Java are supported. |
Revision as of 07:04, 4 August 2012
KDE支持多种的编程语言用于KDE 4的开发。
稳定的和成熟的
以下这些语言的支持已经是成熟的,并且被充分地维护,完全适用于应用程序的开发:
正在开发中的
以下这些语言的支持依然正在开发中:
语言绑定技术与内嵌语言
- Smoke - 为用于创建诸如Ruby、C#和PHP之类的多语言绑定提供基础。
- Kross - Provides embedded scripting for C++ applications. Multiple languages such as Python, Ruby, JavaScript, QtScript, Falcon and Java are supported.
- QtScript - The QtScript binding generator.
- SIP - Used to generate the bindings for 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://[email protected]/"]
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
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.