Warning, /plasma/libplasma/templates/qml-plasmoid6-with-qml-extension/README is written in an unsupported language. File is not indexed.
0001 Plasma Applet Template 0002 ---------------------- 0003 0004 -- Namespace adaption -- 0005 0006 Each Plasma plugin has a unique identifier, which is also used to find related 0007 resources (like the translation catalogs). 0008 To avoid naming collisions, Plasma plugins use a reverse domain name notation 0009 for that identifier: 0010 0011 * org.kde.plasma.* - plugins coming from Plasma modules 0012 * org.kde.* - plugins coming from other software from KDE 0013 * $(my.domain).* - plugins of your 3rd-party 0014 0015 The generated code uses the "org.kde.plasma" namespace for the plugin identifier. 0016 As this namespace is reserved for use by plugins part of Plasma modules, you will 0017 need to adapt this namespace if you are writing a plugin which is not intended to 0018 end up in the Plasma modules. 0019 0020 0021 -- Build instructions -- 0022 0023 cd /where/your/applet/is/generated 0024 mkdir build 0025 cd build 0026 cmake -DCMAKE_INSTALL_PREFIX=MYPREFIX .. 0027 make 0028 make install 0029 0030 (MYPREFIX is where you install your Plasma setup, replace it accordingly) 0031 0032 Restart plasma to load the applet 0033 (in a terminal type: 0034 kquitapp plasmashell 0035 and then 0036 plasmashell) 0037 0038 or view it with 0039 plasmoidviewer -a YourAppletName 0040 0041 -- Tutorials and resources -- 0042 The explanation of the QML part of the template 0043 https://techbase.kde.org/Development/Tutorials/Plasma5/QML2/GettingStarted 0044 0045 Plasma QML API explained 0046 https://techbase.kde.org/Development/Tutorials/Plasma2/QML2/API