Deploying Qt apps to Symbian 3 is easy

So Now I have a C7, and I have installed the Nokia Qt SDK 1.1 I have looked at how to deploy Qt apps to Symbian and it’s very simple.  Forum. Nokia has a great article on it in their getting started section which is here, but in the spirit of simplicity, here’s the short version.

Prerequisites:

  • QT SDK, and either PC Suite or OVI Suite installed on your computer
  • Symbian 3 phone and Nokia USB data cable

Steps

  1. Connect everything up – Connect phone to PC in OVI Suite mode, open PC Suite/Ovi suite and open Qt Creator
  2. Choose a project or pick an example project to open
  3. In the Project Setup, choose Qt 4.7.3 for Symbian 3 as a target, as well as the Simulator
  4. Build the project and run in the simulator – good to make sure there are no errors before trying it with a phone for the first time.
  5. From the Start Menu in the Qt SDK folder (in windows, I’m trusting Linux users to know where to go for this)  run Install Qt 4.7.3 to Symbian 3 device – this will run in Ovi Suite or PC Suite at first the installation will be completed on the device.  You may also want to run Install TRK (Debug Agent) to  Symbian 3 device
  6. In Qt Creator go to the Project tabview, and choose Build under Symbian Device – make sure and check that it says Qt 4.7.3 for Symbian 3 (Qt SDK) in the Qt Version dropdown.
  7. Go to the run tab and confirm that Device On Serial Port: shows there is a device on the COM port, and Create Self Signed Package is selected in the Create SIS Package section.
  8. Go back to the editor view – in the build target selector, make sure that Symbian Device is selected. Build the project
  9. Run the project – it will run on the phone and also install a shortcut in your menu for you.

What if I’m away from my PC?

Ah, well.  In the N900 we could edit code files and use the QML viewer to run UI modules meaning if you were a fan of being able to modify apps when on the go, you could. In Symbian you can install the QML viewer (there’s an install link in the start menu next to the ones for QT and the TRK Active debugger.  You can view QML files there and you can view text by browsing for it and opening the file from File Manager.  But you can’t edit them so easily.  I haven’t tried Quick Office yet, but the installed apps don’t have an obvious route to opening text files and nothing jumped out at me from the OVI store that fits the bill so far. So in this case it’s not as useful.

Advertisements

About bluechrism

I am a software developer with most professional experience in the Windows .Net realm and I'm currently a WPF developer with Starkey Labs. However, I have wanted for some time to start the mobile developer journey properly and being an N900 owner, this was to be in the realm of QT. Job hunting, moving to Minnesota and changing jobs put my plans on hold 6-12 months but things are starting to settle now, just as I'm getting sorted to start some things, Microsoft and Nokia merge. This blog is about my novice mobile development experiences and hopefully will end up complete with links to download some apps on various platforms, but obviously by the name, Sybian, Maemo/Meego and Windows Mobile. In other stuff, I am English, I support Everton FC, I have visited Glastonbury music festival 5 times and recommend it to anyone. I am married and my wife and i have a dog called Friday.
This entry was posted in General. Bookmark the permalink.

One Response to Deploying Qt apps to Symbian 3 is easy

  1. therohan says:

    Hey guys,
    The final release of Qt SDK 1.1. This final release is now ready for developers to submit apps to Ovi Store.
    Download Qt SDK 1.1 from:
    http://www.forum.nokia.com/Develop/Qt/Tools/
    With the new features in the Qt SDK 1.1, developers can now publish high quality, graphically rich applications that will stand out on our latest range of Symbian devices.
    In addition to Qt Quick, the Qt SDK 1.1 includes map and navigation features, imaging features for camera and photo gallery access, notification API plug-ins and other enhancements that enable developers to provide access to user content on the device.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s