KDE Frameworks/Getting Started: Difference between revisions
No edit summary |
No edit summary |
||
Line 10: | Line 10: | ||
This section of KDE TechBase is designed to help get you started in participating in the technical side of the KDE community. It will explain to you how KDE Software is structured and built, and how you can participate by building KDE Software for yourself. | This section of KDE TechBase is designed to help get you started in participating in the technical side of the KDE community. It will explain to you how KDE Software is structured and built, and how you can participate by building KDE Software for yourself. | ||
If you just want to get started then you can skip to the [[Special:myLanguage/KF5/Getting_Started/Build|build instructions]], but it is recommended you first understand the background material presented here. | If you just want to get started building the code then you can skip to the [[Special:myLanguage/KF5/Getting_Started/Build|build instructions]], but it is recommended you first understand the background material presented here. | ||
== Using KDE Software == | |||
If you just want to use stable KDE Software for your everyday computing needs, then you do not need to build KDE Software for yourself. You should instead use the software installer provided by your Linux distribution to install KDE Software. | If you just want to use stable KDE Software for your everyday computing needs, then you do not need to build KDE Software for yourself. You should instead use the software installer provided by your Linux distribution to install KDE Software. | ||
The best place to learn how to do this is through your distribution's normal support channels, although you may find some useful information on the following pages: | The best place to learn how to do this is through your distribution's normal support channels, although you may find some useful information on the following pages: | ||
* [https://community.kde.org/Distributions Linux and BSD Distributions shipping KDE] | * [https://community.kde.org/Distributions Linux and BSD Distributions shipping KDE] | ||
Line 30: | Line 21: | ||
* [http://community.kde.org/Mac#Installing_KDE_on_Mac_OSX Install KDE Software on Mac OS X] | * [http://community.kde.org/Mac#Installing_KDE_on_Mac_OSX Install KDE Software on Mac OS X] | ||
== Getting Help == | == Getting Help == | ||
If you are looking for help in using KDE Plasma or KDE Applications then please visit the [http://userbase.kde.org/ KDE UserBase]. | |||
If you are looking for help in using | |||
If you have any questions or problems with building or developing KDE Software please feel free to [[Special:myLanguage/Development/Getting_Help|ask for help]]. The IRC channel [irc://irc.kde.org/kde-devel #kde-devel] is recommended as the best source of general help. For application specific help please try their specific mailing list or IRC channel. | If you have any questions or problems with building or developing KDE Software please feel free to [[Special:myLanguage/Development/Getting_Help|ask for help]]. The IRC channel [irc://irc.kde.org/kde-devel #kde-devel] is recommended as the best source of general help. For application specific help please try their specific mailing list or IRC channel. | ||
Be patient while waiting for a response, and try to work through the problem yourself, we aren't going to do it ''all'' for you. Working your way through and understanding why something doesn't work is a good way to learn how to do things the right way. | Be patient while waiting for a response, and try to work through the problem yourself, we aren't going to do it ''all'' for you. Working your way through and understanding why something doesn't work is a good way to learn how to do things the right way. | ||
==Contributing | ==Contributing== | ||
Once you have a copy of KDE Software built you can then start contributing code back to the KDE Community. The pages below will help you find out how you can help make KDE Software even better. | |||
[[Image:Action_tool.svg|right|32px]] | |||
* [[Special:myLanguage/Contribute|Contribute]] | |||
* [[Special:myLanguage/Contribute/Send_Patches|Send Patches]] | |||
* [[Special:myLanguage/Contribute/Bugsquad|Bugsquad]] | |||
==Browsing The Code== | |||
All KDE Software is free and open source. You are free to view the source code, and free to make changes to the code in line with the (L)GPL family of licences. | All KDE Software is free and open source. You are free to view the source code, and free to make changes to the code in line with the (L)GPL family of licences. | ||
Line 60: | Line 54: | ||
Read the [[KF5/Getting_Started/Source_Code|Source Code section]] to learn how the KDE Software repositories are organized. | Read the [[KF5/Getting_Started/Source_Code|Source Code section]] to learn how the KDE Software repositories are organized. | ||
== Building and Running KDE Software From Source == | == Building and Running KDE Software From Source == | ||
There are several possible ways to build and install KDE Software and the method you choose depends on what you want to do with the software. In particular if you are only wanting to build and develop a single KDE application you may not need to build the latest KDE Frameworks or KDE Plasma to do so, you may only need to build the application itself. | There are several possible ways to build and install KDE Software and the method you choose depends on what you want to do with the software. In particular if you are only wanting to build and develop a single KDE application you may not need to build the latest KDE Frameworks or KDE Plasma to do so, you may only need to build the application itself. | ||
The easiest and recommended way to build and run KDE Software from source is using the [https://kdesrc-build.kde.org/ kdesrc-build tool] written by Michael Pyne. These pages will describe how to use this tool to build the KDE Software you want to work on. Other more manual methods are possible but not recommended due to the complex dependency requirements that kdesrc-build will manage for you. You can build both KDE4 and KF5 based code using kdesrc-build, but these instructions will focus on KF5. | The easiest and recommended way to build and run KDE Software from source is using the [https://kdesrc-build.kde.org/ kdesrc-build tool] written by Michael Pyne. These pages will describe how to use this tool to build the KDE Software you want to work on. Other more manual methods are possible but not recommended due to the complex dependency requirements that kdesrc-build will manage for you. You can build both KDE4 and KF5 based code using kdesrc-build, but these instructions will focus on KF5. | ||
The following sections explain the steps you need to understand and give the instructions you need to follow to successfully build KDE Software from source: | The following sections explain the steps you need to understand and give the instructions you need to follow to successfully build KDE Software from source: | ||
You should follow the following sections to gain a better understanding of how KDE Software is organized, how to build it, and how to run it: | You should follow the following sections to gain a better understanding of how KDE Software is organized, how to build it, and how to run it: | ||
* [[Special:myLanguage/KF5/Getting_Started/Source_Code|How the KDE Software source code is structured]] | * [[Special:myLanguage/KF5/Getting_Started/Source_Code|How the KDE Software source code is structured]] | ||
* [[Special:myLanguage/KF5/Getting_Started/Build|How to Build and Install the software]] | * [[Special:myLanguage/KF5/Getting_Started/Build|How to Build and Install the software]] | ||
== Development Model == | == Development Model == | ||
TODO: General introduction to the dev model, release cycles, etc. | TODO: General introduction to the dev model, release cycles, etc. | ||
* [[Special:myLanguage/Schedules/Release_Schedules_Guide|The KDE Release Schedule]] | * [[Special:myLanguage/Schedules/Release_Schedules_Guide|The KDE Release Schedule]] | ||
* [[Special:myLanguage/Development/Software_Engineering_Framework|The KDE Software Engineering Framework]] | * [[Special:myLanguage/Development/Software_Engineering_Framework|The KDE Software Engineering Framework]] | ||
Line 89: | Line 76: | ||
* [[Special:myLanguage/Policies/Application_Lifecycle|The development lifecycle for a new application]] | * [[Special:myLanguage/Policies/Application_Lifecycle|The development lifecycle for a new application]] | ||
== Development Tools == | == Development Tools == | ||
There are a number of [[Special:myLanguage/Development/Tools|Development Tools]] that are either required or helpful when building KDE Software, such as debuggers and IDE's. For these you will usually want to use the stable packages provided by your distribution. | There are a number of [[Special:myLanguage/Development/Tools|Development Tools]] that are either required or helpful when building KDE Software, such as debuggers and IDE's. For these you will usually want to use the stable packages provided by your distribution. | ||
[[Category:Build_KDE]] | [[Category:Build_KDE]] | ||
</translate> | </translate> |
Revision as of 12:48, 16 August 2015
Under Construction |
---|
This is a new page, currently under construction! |
Introduction
There are many different ways to become involved in the KDE Community, ranging all the way from a simply using our software through to being a core platform developer.
This section of KDE TechBase is designed to help get you started in participating in the technical side of the KDE community. It will explain to you how KDE Software is structured and built, and how you can participate by building KDE Software for yourself.
If you just want to get started building the code then you can skip to the build instructions, but it is recommended you first understand the background material presented here.
Using KDE Software
If you just want to use stable KDE Software for your everyday computing needs, then you do not need to build KDE Software for yourself. You should instead use the software installer provided by your Linux distribution to install KDE Software.
The best place to learn how to do this is through your distribution's normal support channels, although you may find some useful information on the following pages:
- Linux and BSD Distributions shipping KDE
- Install KDE Software on Windows
- Install KDE Software on Mac OS X
Getting Help
If you are looking for help in using KDE Plasma or KDE Applications then please visit the KDE UserBase.
If you have any questions or problems with building or developing KDE Software please feel free to ask for help. The IRC channel #kde-devel is recommended as the best source of general help. For application specific help please try their specific mailing list or IRC channel.
Be patient while waiting for a response, and try to work through the problem yourself, we aren't going to do it all for you. Working your way through and understanding why something doesn't work is a good way to learn how to do things the right way.
Contributing
Once you have a copy of KDE Software built you can then start contributing code back to the KDE Community. The pages below will help you find out how you can help make KDE Software even better.
Browsing The Code
All KDE Software is free and open source. You are free to view the source code, and free to make changes to the code in line with the (L)GPL family of licences.
Most KDE Software developed within the KDE Community is stored in Git repositories which are hosted at KDE Projects. There are a number of ways to browse or search the code online:
- https://projects.kde.org/projects is a list of all KDE Projects, choose a project and then click on Repository to browse the source
- https://quickgit.kde.org/ is an alternative online code browser for code in Git repositories
- https://websvn.kde.org/ is an online code browser for code still in the Subversion repository
- http://lxr.kde.org/ lets you search the code for identifiers like API calls
- http://lxr.kde.org/search lets you search the code for any string
- http://api.kde.org lets you browse or search the API documentation generated from the code
Read the Source Code section to learn how the KDE Software repositories are organized.
Building and Running KDE Software From Source
There are several possible ways to build and install KDE Software and the method you choose depends on what you want to do with the software. In particular if you are only wanting to build and develop a single KDE application you may not need to build the latest KDE Frameworks or KDE Plasma to do so, you may only need to build the application itself.
The easiest and recommended way to build and run KDE Software from source is using the kdesrc-build tool written by Michael Pyne. These pages will describe how to use this tool to build the KDE Software you want to work on. Other more manual methods are possible but not recommended due to the complex dependency requirements that kdesrc-build will manage for you. You can build both KDE4 and KF5 based code using kdesrc-build, but these instructions will focus on KF5.
The following sections explain the steps you need to understand and give the instructions you need to follow to successfully build KDE Software from source:
You should follow the following sections to gain a better understanding of how KDE Software is organized, how to build it, and how to run it:
Development Model
TODO: General introduction to the dev model, release cycles, etc.
- The KDE Release Schedule
- The KDE Software Engineering Framework
- KDE Development Policies and Procedures to follow
- The development lifecycle for a new application
Development Tools
There are a number of Development Tools that are either required or helpful when building KDE Software, such as debuggers and IDE's. For these you will usually want to use the stable packages provided by your distribution.