plasma-framework/templates/qml-plasmoid-with-qml-extension
Friedrich W. H. Kossebau 4d5793c28a Add template for Plasma QML Applet with QML extension
Summary:
Should help people to kick-off plasmoids which also
use custom QML classes.

Test Plan: Created new plasmoid from template using kdevelop.

Reviewers: #plasma, mart

Reviewed By: mart

Subscribers: plasma-devel, #frameworks

Tags: #plasma, #frameworks

Differential Revision: https://phabricator.kde.org/D5914
2017-05-19 14:23:13 +02:00
..
package Add template for Plasma QML Applet with QML extension 2017-05-19 14:23:13 +02:00
plugin Add template for Plasma QML Applet with QML extension 2017-05-19 14:23:13 +02:00
CMakeLists.txt Add template for Plasma QML Applet with QML extension 2017-05-19 14:23:13 +02:00
Messages.sh Add template for Plasma QML Applet with QML extension 2017-05-19 14:23:13 +02:00
qml-plasmoid-with-qml-extension.kdevtemplate Add template for Plasma QML Applet with QML extension 2017-05-19 14:23:13 +02:00
README Add template for Plasma QML Applet with QML extension 2017-05-19 14:23:13 +02:00

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 QML part of the template
https://techbase.kde.org/Development/Tutorials/Plasma5/QML2/GettingStarted

Plasma QML API explained
https://techbase.kde.org/Development/Tutorials/Plasma2/QML2/API