Archive:Build your first KDE application on Kubuntu: Difference between revisions

From KDE UserBase Wiki
(Created page with "{{Construction}} == Building your first KDE application using Kubuntu Linux 20.04 == ===== Overview ===== This document aims to provide an overview on the pre-requisites re...")
 
mNo edit summary
Line 16: Line 16:


<syntaxhighlight lang="bash">
<syntaxhighlight lang="bash">
sudo apt install libkf5syntaxhighlighting-dev
sudo apt install cmake
</syntaxhighlight>
 
2. Install KDevelop
 
<syntaxhighlight lang="bash">
sudo apt install kdevelop
</syntaxhighlight>
 
3. Install additional dependances
 
<syntaxhighlight lang="bash">
sudo apt install clang-8
sudo apt-get install libkf5config-dev libkf5auth-dev libkf5package-dev libkf5declarative-dev libkf5coreaddons-dev libkf5dbusaddons-dev libkf5kcmutils-dev libkf5i18n-dev libqt5core5a libqt5widgets5 libqt5gui5 libqt5qml5 extra-cmake-modules qtbase5-dev kirigami2-dev libkf5kirigami2-5 libkf5notifications-dev qml-module-org-kde-kirigami2 qml-module-qtquick-dialogs qml-module-qtquick-controls2 cmake build-essential gettext
sudo apt install libkf5crash-dev
sudo apt install libkf5doctools-dev
</syntaxhighlight>
</syntaxhighlight>

Revision as of 14:50, 16 June 2020

Under Construction

This is a new page, currently under construction!


Building your first KDE application using Kubuntu Linux 20.04

Overview

This document aims to provide an overview on the pre-requisites required to create, compile and execute a simple KDE Application (windowed GUI application) using Kubuntu 20.04.

As most Linux distributions, including Kubuntu, do not install the necessary development packages - additional steps are required to get 'up and running' and be able to create a KDE Qt application.

Pre-requisites

It is assumed that a 'Minimal' installation is performed of Kubuntu, which is running. Refer to this guide on how to setup a Virtual Machine for development: https://community.kde.org/Get_Involved/development/Developing_in_a_virtual_machine

Instructions

1. Referring to https://techbase.kde.org/Development/Tutorials/Setting_Up

sudo apt install cmake

2. Install KDevelop

sudo apt install kdevelop

3. Install additional dependances

sudo apt install clang-8
sudo apt-get install libkf5config-dev libkf5auth-dev libkf5package-dev libkf5declarative-dev libkf5coreaddons-dev libkf5dbusaddons-dev libkf5kcmutils-dev libkf5i18n-dev libqt5core5a libqt5widgets5 libqt5gui5 libqt5qml5 extra-cmake-modules qtbase5-dev kirigami2-dev libkf5kirigami2-5 libkf5notifications-dev qml-module-org-kde-kirigami2 qml-module-qtquick-dialogs qml-module-qtquick-controls2 cmake build-essential gettext
sudo apt install libkf5crash-dev
sudo apt install libkf5doctools-dev