Difference between revisions of "KDevelop"

From ArchWiki
Jump to: navigation, search
(Remove dead repo)
(add developer quote, link. update install section, now available in extra, formatting)
Line 1: Line 1:
 
[[Category:Development (English)]]
 
[[Category:Development (English)]]
==Introduction==
+
{{i18n|KDevelop 4}}
  
KDevelop 4 is still in beta, but this guide will help get it running.
+
''"[http://kdevelop.org/ KDevelop] is a free, open source IDE (Integrated Development Environment) for MS Windows, Mac OS X, Linux, Solaris and FreeBSD. It is a feature-full, plugin extensible IDE for C/C++ and other programming languages. It is based on KDevPlatform, and the [[KDE]] and [[Qt]] libraries and is under development since 1998."''
  
 
==Installation==
 
==Installation==
There are a lot of ways to install KDevelop4 in Arch Linux these are just some of them.
 
  
===Arch Testing===
+
{{Package Official|KDevelop}} is available in the Extra repository:
Arch Testing has a build of KDevelop4, but to get the newest features install it from an SVN build. You can use the repositories below for nightly builds.
 
  
x86_64
+
  # pacman -S kdevelop
  [sjakub]
 
Server=http://sjakub.net/arch/repo/x86_64
 
 
 
i686
 
[sjakub]
 
Server=http://sjakub.net/arch/repo/i686/
 
 
 
These repositories provides both kdevelop-svn and kdevplatform packages, but not the kdevelop-pg package that is required to build additional plugins.
 
 
 
===KDEMod Playground===
 
The KDEMod Playground repository also provides KDevelop4 if you are a user of this DE you may want to try this package instead.
 
 
 
x86_64
 
[kdemod-playground]
 
Server = http://chakra-project.org/repo/playground/x86_64/
 
 
 
i686
 
[kdemod-playground]
 
Server = http://chakra-project.org/repo/playground/i686/
 
  
 
==Building Additional Plugins==
 
==Building Additional Plugins==
Line 52: Line 31:
  
 
Restart KDevelop 4 and you should now have improved PHP support, including autocomplete for both the PHP functions as well as for your project's functions and classes.
 
Restart KDevelop 4 and you should now have improved PHP support, including autocomplete for both the PHP functions as well as for your project's functions and classes.
 
  
 
===Other Plugins===
 
===Other Plugins===
Line 67: Line 45:
  
 
If you have successfully installed one of these additional plugins please add a relevant section to this wiki page with the exact instructions.
 
If you have successfully installed one of these additional plugins please add a relevant section to this wiki page with the exact instructions.
 
  
 
==List of Available Plugins==
 
==List of Available Plugins==

Revision as of 21:38, 7 September 2011

This template has only maintenance purposes. For linking to local translations please use interlanguage links, see Help:i18n#Interlanguage links.


Local languages: Català – Dansk – English – Español – Esperanto – Hrvatski – Indonesia – Italiano – Lietuviškai – Magyar – Nederlands – Norsk Bokmål – Polski – Português – Slovenský – Česky – Ελληνικά – Български – Русский – Српски – Українська – עברית – العربية – ไทย – 日本語 – 正體中文 – 简体中文 – 한국어


External languages (all articles in these languages should be moved to the external wiki): Deutsch – Français – Română – Suomi – Svenska – Tiếng Việt – Türkçe – فارسی

"KDevelop is a free, open source IDE (Integrated Development Environment) for MS Windows, Mac OS X, Linux, Solaris and FreeBSD. It is a feature-full, plugin extensible IDE for C/C++ and other programming languages. It is based on KDevPlatform, and the KDE and Qt libraries and is under development since 1998."

Installation

Template:Package Official is available in the Extra repository:

# pacman -S kdevelop

Building Additional Plugins

First: Install Dependency

AUR has the kdevelop-pg-qt-svn package that is required to build additional plugins. Plugins will not compile if this package is not installed beforehand.

PHP

The PHP plugin provides autocompletion and other PHP-specific features.

Checkout the PHP plugin from SVN

svn checkout svn://anonsvn.kde.org/home/kde/trunk/playground/devtools/kdevelop4-extra-plugins/php

Change into the new directory (php) and run CMake, taking care to specify the installation directory.

cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr .

Now make and install the package. The 'make install' command must be run as root.

make && make install

Restart KDevelop 4 and you should now have improved PHP support, including autocomplete for both the PHP functions as well as for your project's functions and classes.

Other Plugins

Other plugins should compile the same way as the ones above. When doing the svn checkout simply change the last directory name to the plugin directory from KDE's websvn browser.

For example, to install the Python plugin you can use the instructions for PHP, but change the svn checkout line from

svn checkout svn://anonsvn.kde.org/home/kde/trunk/playground/devtools/kdevelop4-extra-plugins/php

To

svn checkout svn://anonsvn.kde.org/home/kde/trunk/playground/devtools/kdevelop4-extra-plugins/python

If you have successfully installed one of these additional plugins please add a relevant section to this wiki page with the exact instructions.

List of Available Plugins

As of June 18 2009, the following plugins are available from KDE's svn repository.

  • automake
  • bazaar
  • check
  • controlflowgraph
  • cppunit
  • csharp
  • ctest
  • duchainviewer
  • java
  • metrics
  • oldgdb
  • php
  • php-docs
  • python
  • qmake
  • qtdesigner
  • ruby
  • sloc
  • teamwork
  • xdebug

Note: As of June 17 2009, do not install the php-docs plugin because it causes the php plugin to stop working.

Another repo

Another repo with daily svn kdevelop & plugins

[dstr-repo]
Server = http://dimon.homeftp.org/repo/x86_64/
[dstr-repo]
Server = http://dimon.homeftp.org/repo/i686

http://dimon.homeftp.org/flyspray for bugreports