Tuesday, April 16, 2013

KAppTemplate updates

If you want to develop a KDE project (Plasma applet, runner, GUI app,  Akonadi resource, Qt only app, ...) you can use KAppTemplate to generate a basic template for such a project. KDevelop also uses those templates and provides you with a full IDE while after generating the template with KAppTemplate you are left with using your terminal and editor (Kate does both by the way ;)

Recently I added 2 new projects templates: a Plasma QML based applet and a Qt5 - QtQuick2 application. Here are previews of those new additions:

This is the Plasma QML applet, displaying a SVG image (from Pairs, the kids love this pic) with a Plasma label below. From there you can start adding stuff and develop your own plasmoid!

This is the Qt5 and QtQuick2 application which is also fun to get you started with QtQuick 2 new classes. When you right click the background becomes green and when you left click the app quits.

Those templates are only a few lines of code but they should compile and run and when you achieved that you're all set for serious development!
Hope you'll have fun with those ready-made little projects which can become very big! This is how I started developing for KDE, some years ago, and did it become addictive!!!


No comments: