Please note that as of October 24, 2014, the Nokia Developer Wiki will no longer be accepting user contributions, including new entries, edits and comments, as we begin transitioning to our new home, in the Windows Phone Development Wiki. We plan to move over the majority of the existing entries over the next few weeks. Thanks for all your past and future contributions.

How to open standard Clock App in Qt Maemo application

From Wiki
Jump to: navigation, search
Article Metadata
Tested with
Devices(s): N900
Platform(s): Qt, Maemo
Keywords: QWidget, QDBusConnection
Created: Avis (30 Nov 2010)
Last edited: hamishwillee (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
unix:!symbian {
CONFIG += qdbus


#include <QtDBus/QtDBus>


// 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",
"", bus);
// here we send command 'LaunchApplication' with param 'worldclock'"LaunchApplication","worldclock");

See also

--Avis 8:51, 30 November 2010 (UTC)

This page was last modified on 11 October 2012, at 01:17.
33 page views in the last 30 days.

Was this page helpful?

Your feedback about this content is important. Let us know what you think.


Thank you!

We appreciate your feedback.