46789eb1c8
this makes easier to develop a new plasmoid, there are two templates: one is for a pure QML plasmoid the othe rone has a C++ part
33 lines
715 B
Plaintext
33 lines
715 B
Plaintext
Plasma Applet Template
|
|
----------------------
|
|
|
|
-- Build instructions --
|
|
|
|
cd /where/your/applet/is/generated
|
|
mkdir build
|
|
cd build
|
|
cmake -DCMAKE_INSTALL_PREFIX=MYPREFIX ..
|
|
make
|
|
make install
|
|
|
|
(MYPREFIX is where you install your Plasma setup, replace it accordingly)
|
|
|
|
Restart plasma to load the applet
|
|
(in a terminal type:
|
|
kquitapp plasmashell
|
|
and then
|
|
plasmashell)
|
|
|
|
or view it with
|
|
plasmoidviewer -a YourAppletName
|
|
|
|
-- Tutorials and resources --
|
|
The explanation of the template
|
|
http://techbase.kde.org/index.php?title=Development/Tutorials/Plasma/GettingStarted
|
|
|
|
Plasma techbase pages
|
|
http://techbase.kde.org/Projects/Plasma
|
|
|
|
Plasma QML API explained
|
|
http://techbase.kde.org/Development/Tutorials/Plasma/QML/API
|