Revision as of 03:17, 11 October 2012 by
How to open standard Clock App in Qt Maemo application
From Nokia Developer Wiki
Platform(s): Qt, MaemoArticle
Keywords: QWidget, QDBusConnection
Created:(30 Nov 2010)
Last edited:(11 Oct 2012)
This article shows how to start system applications in Maemo, using the D-Bus command (as there is no Qt API for this purpose).
Here is an example of how to start Clock Application.
Project .pro file
// Maemo specific config lines, added to PRO-file
CONFIG += qdbus
// initializing D-Bus connection
QDBusConnection bus = QDBusConnection::sessionBus();
// here we create the D-Bus interface for starting application
QDBusInterface dbus_iface("com.nokia.HildonDesktop.AppMgr", "/com/nokia/HildonDesktop/AppMgr",
// here we send command 'LaunchApplication' with param 'worldclock'
--8:51, 30 November 2010 (UTC)