Details
-
Bug
-
Resolution: Duplicate
-
Not Evaluated
-
4.6.2
-
None
-
Nokia Qt SDK 1.0 "final" on Windows XP SP3 used to build applications for Maemo 5
Description
Applications based on the SDK's qt_simple project template will be killed by D-Bus when running on a device like the N900.
Either the code in the template's code (qtmain.cpp.mad) should be updated to initialize D-Bus, or the template's .desktop and package should be modified so that D-Bus is not used.
This template can be found here when the SDK is installed on Windows: C:\NokiaQtSDK\Maemo\4.6.2\templates\project\qt_simple
The template .desktop file (desktop.mad) includes the line below to start the application by D-Bus
X-Osso-Service=com.nokia.#PROGNAME#
The template also includes a service.mad file that becomes part of the Debian package.
This issue is a problem for some developers. They expect the Qt SDK's templates to be solid starting points for their projects. An example discussion thread on Forum Nokia is, "Application auto closed when running in N900".
http://discussion.forum.nokia.com/forum/showthread.php?201506-Application-auto-closed-when-running-in-N900