×
Namespaces

Variants
Actions

Meego control panel declarative settings applet

From Nokia Developer Wiki
Jump to: navigation, search

This example shows how to implement minimal declarative settings applet for Meegotouch Control Panel and how to listen for setting changes in QML application.

Article Metadata
Code ExampleArticle
Created: ssamppa (04 Aug 2011)
Last edited: kiran10182 (13 Mar 2013)

Settings applet stores setting values in GConf system, to be able to read them from Qt application libgq-gconf library is needed.

Unfortunately libgq-gconf-dev header package is missing from the Qt SDK 1.1.2 Harmattan Beta Target.

To be able to run included example, libgq-gconf-dev package needs to be installed in the Qt SDK Harmattan target:

  1. Download libgq-gconf-dev_0.6.1+0m6_armel.deb
    http://mirror.thecust.net/harmattan-dev.nokia.com/pool/harmattan/free/libg/libgq/libgq-gconf-dev_0.6.1%2b0m6_armel.deb
  2. install .deb package in Qt SDK
    Linux or Mac:
        Run
    ./mad-admin set harmattan-platform-api
    ./mad-admin xdpkg -i libgq-gconf-dev_0.6.1+0m6_armel.deb
    in QtSDK/Madde/bin
    For more information refer to documentation here..
  3. Open Qt Creator and open attached project.

Before building the project, make sure that Harmattan Platform API target is used in Projects -> Qt Version

This page was last modified on 13 March 2013, at 22:56.
56 page views in the last 30 days.
×