KDE Frameworks/Getting Started

    From KDE TechBase
    Other languages:
    • English
     
    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 for yourself. If you just want to get started 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 packages.

    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:

    Getting Help

    If you are looking for help in using the KDE Workspace 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-dev is recommended as the best source of general help. For application specific help please try their specific mailing list or IRC channel.

    However, 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.

    Browsing the code

    All KDE Software is free and open source. You are free to view the source code, and free to make changes in line with the GPL family of licences.

    KDE Projects hosts the source code repositories for all KDE Software developed within the KDE Community. From the Projects page you can choose a KDE Software project and then click Repository to browse its source. KF5/Getting_Started/Source_Code explains the organization of KDE Software source code.

    There are other utilities to browse or search the source code:

    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.

    Development Tools

    There are a number of Development Tools that are either required or helpful when building KDE Software. For these you will usually want to use the stable packages provided by your distribution.

    You may want to use a graphical IDE for your development work:

    Contributing To KDE

    Once you have a copy of KDE built you can then start contributing back to KDE. The pages below will help you find out how you can help make KDE even better.