×
Namespaces

Variants
Actions
Revision as of 07:41, 19 June 2012 by hamishwillee (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Archived:Targeting Emulator with Qt Creator

From Nokia Developer Wiki
Jump to: navigation, search

Archived.pngArchived: This article is archived because it is not considered relevant for third-party developers creating commercial solutions today. If you think this article is still relevant, let us know by adding the template {{ReviewForRemovalFromArchive|user=~~~~|write your reason here}}.

The Qt SDK uses the standard Qt Simulator rather than the Emulator. The Qt SDK which made these instructions relevant is no longer delivered.

Article Metadata
Compatibility
Platform(s):
Symbian
Article
Created: rahul.kulshreshtha (02 Sep 2010)
Last edited: hamishwillee (19 Jun 2012)

This article explains how to select the Symbian Emulator as a Qt Creator build target

Building for the Emulator

To build for the Emulator you will need to create a new build configuration:

  • Select the Projects icon in the Qt Creator sidebar
  • In the "Build Settings" section select the Debug option, then press Add | Clone Selected to copy the current debug configuration. Give the configuration a meaningful name like "Symbian Emulator Build". Note that cloning a Debug configuration ensures that the new configuration builds debug binaries (Emulator release builds are not supported)
  • You should specify Tool-chain directory; use C:\Program Files\CSL Arm Toolchain. You can set this by clicking on "Manage" button and then select your Qt installed version and then browse for "CLS/GCCE Directory". Click on OK after giving CLS/GCCE directory
  • In the Project's General build settings, change the Tool Chain from GCCE to WINSCW. If ToolChain is still grayed(or disable) and you are not able to change it that means you did not performed last step correctly. Look at the image if you have problem ( I was on 64 bit platform; hence there is x86 after folder name)

CLS ToolChain.PNG

  • Set the new build configuration active.

The target can now be built using the CTRL+B or the build button. As for the device, a successful build will complete with the last message of Exited with code 0 in the Compile Output tab.

Running in the emulator

The Symbian Emulator requires a new run configuration:

  • Select the Projects icon in the Qt Creator sidebar
  • In the Run Settings section, press Add and choose the your project in Symbian Emulator option.

This should create a new configuration for launching the application in the emulator.

For Troubleshooting Check out http://www.developer.nokia.com/Community/Discussion/showthread.php?208503-How-to-run-s60-sdk-Emulator-with-QT-Creator&p=771520 Also try deleting ".pro.user" file if you are trying with existing project Make sure you have selected the right configuration and right build option WorkingConfiguration.PNG WorkingConfiguration1.PNG

This page was last modified on 19 June 2012, at 07:41.
51 page views in the last 30 days.