Difference between revisions of "Development/Languages"

Jump to: navigation, search
m (Reverted edits by Asuranis (talk) to last revision by Neverendingo)
Line 1: Line 1:
 
{{Template:I18n/Language Navigation Bar|Development/Languages}}
 
{{Template:I18n/Language Navigation Bar|Development/Languages}}
 +
 +
<languages />
 +
<translate>
  
 
KDE supports several programming languages for KDE 4 development.
 
KDE supports several programming languages for KDE 4 development.
Line 22: Line 25:
  
 
==Bindings Technologies and Embedding==
 
==Bindings Technologies and Embedding==
 +
 
* [[Development/Languages/Smoke|Smoke]] - Provides infrastructure which is used for creating bindings for multiple languages such as Ruby, C# and PHP.
 
* [[Development/Languages/Smoke|Smoke]] - Provides infrastructure which is used for creating bindings for multiple languages such as Ruby, C# and PHP.
  
Line 31: Line 35:
  
 
==Support for Qt3 / KDE3==
 
==Support for Qt3 / KDE3==
 +
 
* [[Development/Languages/Perl|Perl]]
 
* [[Development/Languages/Perl|Perl]]
 
* [[Development/Languages/Java|Java]]
 
* [[Development/Languages/Java|Java]]
Line 37: Line 42:
  
 
==Building current git master==
 
==Building current git master==
 +
 
It is recommended to have the following in ~/.gitconfig:
 
It is recommended to have the following in ~/.gitconfig:
 
<syntaxhighlight lang="text">
 
<syntaxhighlight lang="text">
Line 68: Line 74:
 
kross-interpreters contains the language plugins for kross. They do not depend on any of the above.
 
kross-interpreters contains the language plugins for kross. They do not depend on any of the above.
  
__NOTOC__
+
</translate>

Revision as of 20:14, 31 May 2012


Contents

Development/Languages


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

KDE supports several programming languages for KDE 4 development.

Stable and Mature

Support for these languages is mature, fully maintained and suitable for application development:

In Development

Support for these languages is still in development:

Bindings Technologies and Embedding

  • Smoke - Provides infrastructure which is used for creating bindings for multiple languages such as Ruby, C# and 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://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
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