| (12 intermediate revisions by 7 users not shown) | |||
| Line 1: | Line 1: | ||
| − | + | <languages /> | |
| + | <translate> | ||
| + | <!--T:1--> | ||
KDE supports several programming languages for KDE 4 development. | KDE supports several programming languages for KDE 4 development. | ||
| − | ==Stable and Mature== | + | ==Stable and Mature== <!--T:2--> |
| + | <!--T:3--> | ||
Support for these languages is mature, fully maintained and suitable for application development: | Support for these languages is mature, fully maintained and suitable for application development: | ||
| + | <!--T:4--> | ||
* [[Development/Languages/C++ |C++]] | * [[Development/Languages/C++ |C++]] | ||
* [[Development/Languages/Python|Python]] | * [[Development/Languages/Python|Python]] | ||
* [[Development/Languages/Ruby|Ruby]] | * [[Development/Languages/Ruby|Ruby]] | ||
| − | * [[Development/Languages/ | + | * [[Development/Languages/Qyoto|C#]] |
| + | * [[Development/Languages/Perl|Perl]] | ||
| − | ==In Development== | + | ==In Development== <!--T:5--> |
| + | <!--T:6--> | ||
Support for these languages is still in development: | Support for these languages is still in development: | ||
| + | <!--T:7--> | ||
* [[Development/Languages/PHP-Qt|PHP]] | * [[Development/Languages/PHP-Qt|PHP]] | ||
* [[Development/Languages/Lqt|Lua]] | * [[Development/Languages/Lqt|Lua]] | ||
| − | * [[Development/Languages/KBasic|KBasic]] - BASIC language | + | * [[Development/Languages/KBasic|KBasic]] - BASIC language similar to VB |
| − | ==Bindings Technologies and Embedding== | + | ==Bindings Technologies and Embedding== <!--T:8--> |
| + | |||
| + | <!--T:9--> | ||
* [[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. | ||
| + | <!--T:10--> | ||
* [[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. | ||
| + | <!--T:11--> | ||
* [[Development/Languages/QtScript|QtScript]] - The QtScript binding generator. | * [[Development/Languages/QtScript|QtScript]] - The QtScript binding generator. | ||
| + | <!--T:12--> | ||
* [[Development/Languages/SIP|SIP]] - Used to generate the bindings for Python. | * [[Development/Languages/SIP|SIP]] - Used to generate the bindings for Python. | ||
| − | ==Support for Qt3 / KDE3== | + | ==Support for Qt3 / KDE3== <!--T:13--> |
| + | |||
| + | <!--T:14--> | ||
* [[Development/Languages/Perl|Perl]] | * [[Development/Languages/Perl|Perl]] | ||
* [[Development/Languages/Java|Java]] | * [[Development/Languages/Java|Java]] | ||
| Line 35: | Line 49: | ||
* [[Development/Languages/Tools|KDE interaction tools]] (Shell) | * [[Development/Languages/Tools|KDE interaction tools]] (Shell) | ||
| − | + | ==Building current git master== <!--T:15--> | |
| + | |||
| + | <!--T:16--> | ||
| + | It is recommended to have the following in ~/.gitconfig: | ||
| + | <syntaxhighlight lang="text"> | ||
| + | [url "git://anongit.kde.org/"] | ||
| + | insteadOf = kde: | ||
| + | [url "ssh://git@git.kde.org/"] | ||
| + | pushInsteadOf = kde: | ||
| + | </syntaxhighlight> | ||
| + | to pull from the anongit servers, but push to the main git server. | ||
| + | |||
| + | <!--T:17--> | ||
| + | Clone the repositories with | ||
| + | <syntaxhighlight lang="bash">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 | ||
| + | </syntaxhighlight> | ||
| + | |||
| + | <!--T:18--> | ||
| + | Building happens as usual with | ||
| + | <syntaxhighlight lang="bash">cmake <src-dir> -DCMAKE_INSTALL_PREFIX=/usr | ||
| + | make | ||
| + | make install</syntaxhighlight> | ||
| + | |||
| + | <!--T:19--> | ||
| + | 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. | ||
| + | |||
| + | <!--T:20--> | ||
| + | kross-interpreters contains the language plugins for kross. They do not depend on any of the above. | ||
| + | |||
| + | </translate> | ||
KDE supports several programming languages for KDE 4 development.
Contents |
Support for these languages is mature, fully maintained and suitable for application development:
Support for these languages is still in development:
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.