Archived:Setting up environment for Qt Mobility API
Under Construction: This article is under construction and it may have outstanding issues. If you have any comments please use the comments tab.
Contents |
Overview
This article covers how to set up environment to work with Qt Mobility API.
Prerequisite
- Install the S60 SDK.
- In this series, S60 5th Edition SDK is used as a base. Download it from here: S60 Platform and Device SDKs for Symbian OS
- Use Carbide.c++ or Qt Creator as an IDE
- In this series, Carbide.c++ v2.4 is used.
- First install Carbide.c++ v2.3. Download it from here: Carbide.c++ v2.3
- Upgrade it to Carbide.c++ v2.4 as shown in this blog: Upgrade to Carbide.c++ 2.4
Steps
Setup Qt 4.6.2
- Download Qt 4.6.2 for Symbian from here: qt-symbian-opensource-4.6.2.exe
- Install it on your PC.
- Choose the path of installation
- Choose the Symbian SDK
- Qt 4.6.2 provides its own configured command prompt with the variables set
- Once the installation of Qt 4.6.2 is completed, you can find the Qt command prompt as shown in the following picture:
- Use this command prompt to work with Qt development which will make the process easier
Note: Current set of S60 devices do not have pre-installed Qt libraries on device. Please do not forget to install Qt libraries on the device before testing it on real device. You will find qt_installer.sis under C:\Qt\4.6.2 folder. It contains all the dependency files in a single .sis file.
Setup Qt Mobility API 1.0.0 beta 1
- After successful installation of Qt 4.6.2, the next step is to build Qt Mobility APIs
- Download QtMobility API: new-qt-apis
- Extract it to the folder of your wish. In this series, it is extracted to C:\QtMobility\ folder (Make sure to all the files directly under C:\QtMobility API to make the efforts easier)
- Once you have extracted the Qt Mobility API, perform the following steps:
- configure
- make debug-winscw
- make release-gcce
- Download .sis for your Symbian device from this link: http://get.qt.nokia.com/qt/solutions/qt-mobility-symbian-1.0.0-beta1.zip
- Extract that .zip file and you will find install_to_device folder in it.
- Install the qt-mobility-1.0.0-beta1.sis from install_to_device on your mobile phone.
Related articles
- Getting started with Qt Mobility APIs
- Working with QSystemInfo - System Information API - Part 1
- Working with QSystemInfo - System Information API - Part 2
- Working with QSystemDeviceInfo - System Information API - Part 1
- Working with QSystemStorageInfo - System Information API
- Working with QSystemDisplayInfo - System Information API
- Working with QSystemNetworkInfo - System Information API - Part 1
- Working with QSystemNetworkInfo - System Information API - Part 2
Reference links
- Qt - cross-platform application and UI framework
- Qt Mobility API
- New Qt APIs Beta - Mobility Project
- SDK help
- more to come...

