KDevelop: Difference between revisions

From KDE Wiki Sandbox
(add link to techbase page)
m (Change order of operating systems to normal.)
 
(34 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{{Template:I18n/Language Navigation Bar|KDevelop}}
<languages />
==Creating projects==
<translate>
To start developing with KDevelop, you need to first create a project.  To do this, simply go to Project menu and click on "New Project."
<!--T:1-->
{|class="tablecenter vertical-centered"
|[[File:KdevelopWindows.png|250px|thumb|KDevelop Editor view]]||'''An Integrated Development Environment (IDE) for Linux, Mac OS X and MS Windows'''
|}


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 app, etc.) select the appropriate option.  For example, if you want to create a pyQt4 app, you would unfold 'pyQt4' and select "pyQt4 GUI Application."
== History (inspired by Wikipedia)== <!--T:18-->


Next, you have to enter the application's name in the "Application's name" field. Afterwards, you have to also set a location for the app where the sources will be stored.
<!--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 you can click 'Next.'
<!--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>.


The next page asks you what kind of Version Control System do you want to use. Choose the one you like (and I just remembered I wanted to start learning Git).
<!--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>.


==Browsing through created template files==
== Features<ref>[https://www.kdevelop.org/features KDevelop feature]</ref> == <!--T:22-->
To browse what files have been automatically created when you created a template project, click on "Projects" tab on the left-most hand side.


Now you will see a list of project files.
<!--T:23-->
* Support C, C#, C++, CUDO, OpenCL, Qt QML, Javascript, Python and PHP


==Creating projects==
<!--T:29-->
To start developing with KDevelop, you need to first create a project.  To do this, simply go to Project menu and click on "New Project."
* Support multiple version control systems Git, Bazaar, Subversion, CVS, Mercurial (hg), Perforce


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 app, etc.) select the appropriate option. For example, if you want to create a pyQt4 app, you would unfold 'pyQt4' and select "pyQt4 GUI Application."
<!--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>, ...


Next, you have to enter the application's name in the "Application's name" field.  Afterwards, you have to also set a location for the app where the sources will be stored.
<!--T:31-->
* Quick Code Navigation (Jump to declaration/definition)


Now you can click 'Next.'
<!--T:32-->
* Code comprehension (Syntax highlighting, semantic code completion)


The next page asks you what kind of Version Control System do you want to use.  Choose the one you like (and I just remembered I wanted to start learning Git).
<!--T:33-->
* Documentation integration


==Browsing through created template files==
<!--T:24-->
To browse what files have been automatically created when you created a template project, click on "Projects" tab on the left-most hand side.
* 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]


Now you will see a list of project files.
== Tips == <!--T:11-->


<!--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]


== Tips ==
== More Information == <!--T:26-->


[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]
<!--T:27-->
* [https://www.kdevelop.org/ KDevelop website]
* [https://en.wikipedia.org/wiki/KDevelop Wikipedia]


[http://techbase.kde.org/Getting_Started/Set_up_KDE_4_for_development#KDevelop Using KDevelop 3 to develop KDE 4 applications]
<!--T:16-->
* [[Special:MyLanguage/KDevelop4/Manual|KDevelop 4 Manual on How to get started]]
 
<!--T:17-->
* [[Special:MyLanguage/KDevelop5/Manual|KDevelop 5 Manual on How to get started]]
 
==References== <!--T:28-->
 
<!--T:14-->
[[Category:Development]]
</translate>

Latest revision as of 19:09, 6 September 2019

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