From 76377cdf5d0658672bea5cc84f1c7d5657b8aea2 Mon Sep 17 00:00:00 2001 From: Marco Martin Date: Wed, 9 Dec 2015 12:14:38 +0100 Subject: Make the KAppTemplate CMake module global templates are very useful as teaching tool in order to make a minimal application that uses a certain framework. templates in the KAppTemplate repository will always get forgotten (plus kapptemplate is not really necessary as they work in kdevelop as well) An ideal situation would be frameworks having templates in their own repos with templates of barebone apps using the main framework features. In order to do that, the cmake stuff needed in order to correctly install a template needs to be ported to a place avaiable to all frameworks REVIEW:126185 --- .../KDEPackageAppTemplatesTest/qml-plasmoid/README | 32 ++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 tests/KDEPackageAppTemplatesTest/qml-plasmoid/README (limited to 'tests/KDEPackageAppTemplatesTest/qml-plasmoid/README') diff --git a/tests/KDEPackageAppTemplatesTest/qml-plasmoid/README b/tests/KDEPackageAppTemplatesTest/qml-plasmoid/README new file mode 100644 index 00000000..6814263d --- /dev/null +++ b/tests/KDEPackageAppTemplatesTest/qml-plasmoid/README @@ -0,0 +1,32 @@ +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 -- cgit v1.2.1