Translate
Appearance
Text
This page always uses small font size
Width
AllArchive:Build your first KDE application on Kubuntu
Translate to বিষ্ণুপ্রিয়া মণিপুরী
Translation of the wiki page Archive:Build your first KDE application on Kubuntu from English (en) to বিষ্ণুপ্রিয়া মণিপুরী (bpy)
This tool does not work without JavaScript. JavaScript is disabled, failed to work, or this browser is unsupported.
Translations:Archive:Build your first KDE application on Kubuntu/Page display title/bpy
Build your first KDE application on Kubuntu
You need translation rights to translate messages.Get permission
Translations:Archive:Build your first KDE application on Kubuntu/1/bpy
===Building your first KDE application using Kubuntu Linux 20.04===
You need translation rights to translate messages.Get permission
This document aims to provide an overview of the pre-requisites required to create, compile, and execute a simple KDE Application (windowed GUI application) using Kubuntu 20.04.
As most Linux distributions do not provide development packages by default, additional steps are required to get 'up and running' and be able to create a KDE Qt application, quickly.
It is assumed that a 'Minimal' installation of Kubuntu is performed. Refer to this guide on how to set up a Virtual Machine for development: https://community.kde.org/Get_Involved/development/Developing_in_a_virtual_machine
Referring to the [https://techbase.kde.org/Development/Tutorials/Setting_Up Setting Up] guide under 'Easy as pie: Package manager', it is much quicker to install the KDE development packages provided from the Kubuntu repository than recompile everything from source.
Run the following command in 'Konsole' to install additional KDE framework library and development tools:
<syntaxhighlight lang="bash">
sudo apt install libkf5syntaxhighlighting-dev cmake clang-8 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 libkf5crash-dev libkf5doctools-dev
</syntaxhighlight>
Now you should be in a position to be able to create a simple KDE application in KDevelop by performing the following in the menu: Project -> New From Template -> Qt -> Graphical -> C++ KDE Framework
You are now up and running! It should also now be possible to use Qt Creator should this be a preferred option.
* [https://community.kde.org/Get_Involved/development/Developing_in_a_virtual_machine Developing in a virtual machine]
* [https://techbase.kde.org/KDE_Frameworks#Step_1:_Install_the_Framework_you_need An Overview of the KDE Frameworks]
* [https://community.kde.org/Get_Involved/development#One-time_setup:_your_development_environment Getting involved]
Loading messages...
0% translated, 0% reviewed
Retrieved from "https://userbase.kde.org/Special:Translate"