Commit 314b8300 authored by Alexander Kavon's avatar Alexander Kavon Committed by Albert Astals Cid
Browse files

Update README.md#Compiling to direct to kdesrc-build

Inspired by my most recent attempt to develop for this specific module. I used the build instructions and ended up soft-bricking my desktop. This was resolved with a little debugging and foresight, however it may be better to point to the KDE developer kdesrc-build best practices guide.

The bug in question was using `sudo make install` (final step in README.md#Compiling), which installed:

`/usr/lib/qt/plugins/plasma/kcms/systemsettings_qwidgets/kcm_networkmanagement.so`

on Manjaro Linux. However this is not the correct path and caused `systemsettings5` to not recognize or register/load the `kcm_networkmanagement.so` UI or list the module in the CLI. The solution was to delete this file and then reinstall `plasma-nm`.
parent 2d26a219
Pipeline #141158 passed with stage
in 1 minute and 31 seconds
......@@ -23,6 +23,13 @@ Optional dependencies:
Compiling:
----------
**Recommended method**
The best way to develop for KDE is to use [kdesrc-build](https://kdesrc-build.kde.org/), a KDE supported tool chain to manage installation and compilation of KDE applications and dependencies. Please refer to the following guide when developing, building, and testing `plasma-nm`:
https://community.kde.org/Get_Involved/development#Iterating_on_a_single_project
**Expert method (quick and dirty)**
:warning: **The following method is for experienced developers. developers should use the above mentioned recommmended method when developing for KDE. This expert method will install files on your system that may not align with your specific OS best practices and may cause issues.** :warning:
```sh
mkdir build
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment