KDevelop: Difference between revisions

From KDE UserBase Wiki
(Markup edit)
(remove link to KDevelop4)
 
(30 intermediate revisions by 8 users not shown)
Line 1: Line 1:
<languages />
<languages />
<translate>
<translate>
<!--T:1-->
{|class="tablecenter vertical-centered"
{|class="tablecenter vertical-centered"
|[[Image:Kdevelop2.png|250px|thumb|The Automake Manager]]||'''An Integrated Development Environment (IDE) for MS Windows, Mac OsX, Linux, Solaris and FreeBSD'''
|[[File:KdevelopWindows.png|250px|thumb|KDevelop Editor view]]||'''An Integrated Development Environment (IDE) for Linux, Mac OS X and MS Windows'''
|}
|}


==Creating projects==
== History (inspired by Wikipedia)== <!--T:18-->


To start developing with '''KDevelop''', you need to first create a project. To do this, simply go to <menuchoice>Project</menuchoice> menu and click on <menuchoice>New Project</menuchoice>.
<!--T:19-->
The KDevelop project started in 1998 at the University of Potsdam (Germany). The first released 0.1 was released the same year<ref>[https://marc.info/?l=kde-announce&m=90648146015087&w=2 KDevelop 0.1 announcement]</ref>.  


Now a dialog appears asking you what kind of project do you want to create. According to what app you want to develop (e.g. Qt GUI application, pyQt4, KDE application, etc.) select the appropriate option. For example, if you want to create a pyQt4 app, you would unfold <menuchoice>pyQt4</menuchoice> and select <menuchoice>pyQt4 GUI Application</menuchoice>.
<!--T:20-->
KDevelop has experienced several rewrites. The first time was with version 3.x by Bernd Gehrmann in 2001<ref><!--(-->[https://marc.info/?l=kde-core-devel&m=98598814600661&w=2 A new IDE for a new millennium :-) by Bernd Gehrmann]</ref> and the second time was with version 4.x with a more object-oriented architecture in 2009<ref>[https://apaku.wordpress.com/2009/11/29/kdevelop4-moved/ KDevelop4 moved]</ref>.


Next, you have to enter the application's name in the <menuchoice>Application's name</menuchoice> field. Afterwards, you have to also set a location for the app where the sources will be stored.
<!--T:21-->
The development of KDevelop 5 started in August 2014 as a port of the KDevelop 4 codebase for Qt5 and KF5<ref>[https://www.kdevelop.org/frameworks/kdevelop-master-now-depends-kde-frameworks-5 KDevelop master now depends on KDE Frameworks 5!]</ref>. The custom C++ parser was abandoned in favor of clang, and the CMake interpreter was also replaced in favor of using the JSON metadata given by CMake. KDevelop 5 was released in August 2016<ref>[https://www.kdevelop.org/news/kdevelop-500-released KDevelop 5.0.0 release]</ref>.


Now you can click <menuchoice>Next</menuchoice>.
== Features<ref>[https://www.kdevelop.org/features KDevelop feature]</ref> == <!--T:22-->


The next page asks you what kind of <menuchoice>Version Control System</menuchoice> do you want to use.  Choose the one you like (and I just remembered I wanted to start learning Git).
<!--T:23-->
* Support C, C#, C++, CUDO, OpenCL, Qt QML, Javascript, Python and PHP


==Browsing through created template files==
<!--T:29-->
* Support multiple version control systems Git, Bazaar, Subversion, CVS, Mercurial (hg), Perforce


To browse what files have been automatically created when you created a template project, click on <menuchoice>Projects</menuchoice> tab on the left-most side.
<!--T:30-->
* Support multiple build system CMake, QMake, Makefile, Meson<ref>[https://bugs.kde.org/show_bug.cgi?id=343935 Meson support bug report]</ref>, ...


Now you will see a list of project files.
<!--T:31-->
* Quick Code Navigation (Jump to declaration/definition)


<!--T:32-->
* Code comprehension (Syntax highlighting, semantic code completion)


<!--T:33-->
* Documentation integration


== Tips ==
<!--T:24-->
* Integration support for multiple static analyzers: [http://clang.llvm.org/extra/clang-tidy/ Clang-tidy], [https://www.kdab.com/use-static-analysis-improve-performance/ Clazy] and the [http://cppcheck.sourceforge.net/ Cppcheck]


:[http://apaku.wordpress.com/2008/12/15/howto-create-build-and-run-a-simple-kdevelop4-project How to create and build a simple kdevelop4 project]
== Tips == <!--T:11-->


:[http://techbase.kde.org/Getting_Started/Set_up_KDE_4_for_development#KDevelop Using KDevelop 3 to develop KDE SC 4 applications]
<!--T:12-->
* [http://apaku.wordpress.com/2008/12/15/howto-create-build-and-run-a-simple-kdevelop4-project How to create and build a simple KDevelop4 project]


== More Information == <!--T:26-->
<!--T:27-->
* [https://www.kdevelop.org/ KDevelop website]
* [https://en.wikipedia.org/wiki/KDevelop Wikipedia]
<!--T:17-->
* [[Special:MyLanguage/KDevelop5/Manual|KDevelop 5 Manual on How to get started]]
==References== <!--T:28-->
<!--T:14-->
[[Category:Development]]
[[Category:Development]]
</translate>
</translate>

Latest revision as of 13:40, 23 April 2024

KDevelop Editor view
An Integrated Development Environment (IDE) for Linux, Mac OS X and MS Windows

History (inspired by Wikipedia)

The KDevelop project started in 1998 at the University of Potsdam (Germany). The first released 0.1 was released the same year[1].

KDevelop has experienced several rewrites. The first time was with version 3.x by Bernd Gehrmann in 2001[2] and the second time was with version 4.x with a more object-oriented architecture in 2009[3].

The development of KDevelop 5 started in August 2014 as a port of the KDevelop 4 codebase for Qt5 and KF5[4]. The custom C++ parser was abandoned in favor of clang, and the CMake interpreter was also replaced in favor of using the JSON metadata given by CMake. KDevelop 5 was released in August 2016[5].

Features[6]

  • Support C, C#, C++, CUDO, OpenCL, Qt QML, Javascript, Python and PHP
  • Support multiple version control systems Git, Bazaar, Subversion, CVS, Mercurial (hg), Perforce
  • Support multiple build system CMake, QMake, Makefile, Meson[7], ...
  • Quick Code Navigation (Jump to declaration/definition)
  • Code comprehension (Syntax highlighting, semantic code completion)
  • Documentation integration

Tips

More Information

References