×
Namespaces

Variants
Actions
(Difference between revisions)

Using Qt Creator with Symbian

From Nokia Developer Wiki
Jump to: navigation, search
teemup (Talk | contribs)
teemup (Talk | contribs)
Line 3: Line 3:
  
 
{{NeedsMoreWork}}
 
{{NeedsMoreWork}}
 +
 
This article contains out-dated information. With current Nokia Qt Creator the process is highly simplified.
 
This article contains out-dated information. With current Nokia Qt Creator the process is highly simplified.
  

Revision as of 15:03, 8 November 2010

Contents

Overview

Warning.pngThis article does not meet the wiki quality standards: Please make it more useful by adding links or additional information as discussed in the quality standards. When you have done so you can delete the {{NeedsMoreWork}} template from the article to remove this warning.

This article contains out-dated information. With current Nokia Qt Creator the process is highly simplified.

This article will explain, how the developer can use Qt Creator to write and test applications for Symbian SDKs and Devices.

Prerequisite

  • Download Qt Creator Binary for Windows from here : Qt Creator

Note.pngNote: Qt Creator also comes with the Qt SDK for Windows so you can use that too

Installation Steps & Settings

  • After following the prerequisites steps, I assume that the developer has completed the steps to install the S60 SDKs and Qt SDK for Symbian.


  • Install the Qt Creator and make a note of the point that install Qt Creator on same drive where you have installed all S60 SDKs.


  • Qt Creator should automatically detect SDKs that have been configured for use with Qt. To ensure that the correct SDK is used as the Qt build target:


  • Start Qt Creator from Windows Start button as Start>>All Programs>>Qt Creator By Nokia 1.3.1>>Qt Creator.


  • Just Navigate to Qt SDK versions from :Tools>>Options , this is done to set your default Qt SDK version.


  • Select the you required SDK in Default Qt version field, in our case it will be S60 5th edition Qt 4.6.2.

The Screenshot shown below helps in better understanding:

QtCreator Symbian1.jpg

Running the Application in S60 SDK

  • Make any simple project in Qt, if you have an windows SDK installed then do check that the application works fine with windows.
  • Select the Projects icon in the Qt creator sidebar.
  • In the "Build Settings" section select the Debug option, then press Add Selected to copy the current debug configuration. Give the configuration some meaningful name. The screen shot below gives a better understanding.


QtCreator Symbian5.jpg


  • Select "Show Details" in the General build settings, then change the Tool Chain from GCCE to WINSCW.


QtCreator Symbian3.jpg


  • Set the new build configuration active.


  • Then the final step is you can build the application and if your build was error free you can open your S60 SDK for which you made the build and check out your application.

Making a Standalone sis to be checked on S60 device

  • Select the Projects icon in the Qt creator sidebar.
  • In the "Build Settings" section select the release option.
  • Select "Show Details" in the General build settings, then change the Tool Chain from WINSCW to GCCE.
  • start building the application.
  • Qt Creator doesn't have any direct option to make a sis, instead you have to use makesis tool of symbian to make a sis out of the pkg file.
  • So browse to your application directory and locate your pkg file and use the makesis tool, the below image explains the point clearly.


QtCreator Symbian4.jpg


  • you will get the sis in your application directory and install it in your S60 device.

Conclusion

Executing this steps properly will help the developer to start developing Symbian Applications using the Qt Creator.

The next step would be to download the new Qt Mobility APIs and start developing using some native mobility functions.

385 page views in the last 30 days.