Qt Simulator Manual 1.2.0

Declaring Qt Mobility APIs

To use the Qt Mobility APIs or develop applications for Symbian devices, you must modify the application .pro file to declare the Qt Mobility APIs that you use.

Each Mobility API has its corresponding value that you have to add as a value of MOBILITY to use the API. For a list of the APIs and the corresponding values that you can assign to MOBILITY, see the Quickstart Example.

For example, to use the System Info API, you must declare it, as illustrated by the following code snippet:

 CONFIG += mobility
 MOBILITY = systeminfo
X

Thank you for giving your feedback.

Make sure it is related to this specific page. For more general bugs and requests, please use the Qt Bug Tracker.

[0]; s.parentNode.insertBefore(ga, s); })();