How to: Porting Apps from iPhone and Android to Qt

| July 22, 2010 | 24 Replies

Got an Android or iPhone App? Want an even larger audience and another distribution point? Port to Qt and get your awesome app on the Ovi Store. Forum Nokia has a helpful page on their Wiki detailing instructions on porting Android and iPhone apps to Qt.

The page was updated last in June, so now Nokia have 24 Million smartphones, and 41% of the GLOBAL smartphone market share (up from 40% and 21 million). Today, OPK mentioned Nokia expects 50 Million Symbian^3 devices to be shipped over next few years (though what exact time scale is not mentioned) Now also note the possible Millions of MeeGo devices, not just from Nokia, but from the 20 partners lined up to make MeeGo devices. Plus there’s the Maemo 5 crowd (N900 users).

The programming language for Qt is C++. Modern classes and functions that are familiar from other technologies make it extremely easy to adapt to this language. If you are experienced with the Objective-C or Java™ programming language, you will have your first Qt C++ project running within hours.

Qt C++ is ideal for application logic, and the script-like Qt Quick speeds up the creation of advanced user interfaces. You can also write native platform code and call it from Qt, to reach each and every feature of the device.

Selecting one approach does not tie your hands. You can freely code the network functionality with low-level Qt and make things look smooth with QML and scripts.

Qt provides all modern classes and functionalities familiar from iPhone and Android. This makes it easy to keep the application logic close to the original when porting


How to Proceed with Porting

WordPress Developer Story

As linked above, this is a neat one to take a look at as it’s first hand example of porting from iPhone to Qt.

To make a long story short, it is easy to keep the original structure of the application when porting from iPhone to Qt. You can directly rewrite the core code to Qt just by looking at the original source

Compared to many other platforms, tweaking of the UI is incredibly quick. You can set values, launch it on the desktop, and, if it looks good, add to the device style sheet and deploy for verification’

Forum Nokia Via @bperry


Tags: , , , , , , , , ,

Category: How to:, Nokia, Qt

About the Author ()

Hey, thanks for reading my post. My name is Jay and I'm a medical student at the University of Manchester. When I can, I blog here at and tweet now and again @jaymontano. We also have a twitter and facebook accounts @mynokiablog and Check out the tips, guides and rules for commenting >>click<< Contact us at tips(@) or email me directly on jay[at]
  • Roger Johnson

    This is excellent, i’ve been wondering how developers would do this as easily as possible.

    Does anyone know of any iPhone or Android to Qt source code converters or is a manual rewrite essential? I can imagine logic can contest easily and many API calls converted to equivalents in Qt.. or not?

    • Roger Johnson

      Contest easily? I meant convert easily! That’s wriat happens typing in predictive text on your phone 😉

  • Andre

    And so it begins, Qt is going to take over the world!!! jk jk

    • Keith

      Amen to that! Lolz
      Qt is the future man.
      Sym^3 Sym^4 MeeGo = destruction of iOS and Android and Nokia regaining their prestige in the high-end smartphone market!
      Nokia FTW!

    • Keith

      Hey Andre, my idea just got approved on
      Its about browser improvements and a redesign of keyboard including pop-up style keyboard with multitouch. here’s the link:

      • joegami

        Already voted for your idea Keith. As we know there seems to be a new version of the symbian browser in the works but let’s hope they can implement some of your suggestions.

  • John Wiegand-forson

    Good, this is good step in increasing the number of interesting apps of for the Ovi store it seems like Nokia are doing everything to increase the number of quality apps for the Ovi store quietly behind the scene

  • N#O#R#U#L#E#S

    fantastic! that mean all the best selected apps AND GAMES OFF COURSE for android and iphone shall get a easily porting to symbian/meego!! GO QT 😀

  • Yougo

    Awesome news, so apple will lose appstore advantage in the near future,

    old apple advantages
    multitouch advanatge
    appstore advanatge
    ui advantage(s4 and meego)

    new nokia advantages
    cheaper price
    more complete hardware features
    more powerful os

  • Pingback: Nokia’s Q2: 111+ Million Devices Shipped, Sales Tops €10 Billion, Profit Drops 40% | Sarkem.Net()

  • wow super cool rocking news so qt gives more applications than others.
    i saw in news
    2.5million downloads available for iphone
    1million for android
    past 6months android applications are increased very fast

  • oops i forgot
    so we will have more apps than android and iphone

    • Keith

      It’s NOT 2.5 million, it’s 250,000 apps for iPhone and NOT 1 million, but 100,000 apps for android. And yes, android market has gotten about 50,000 more apps in past 3-4 months. It’s crazy! But with Qt on symbian and meego and Meego just being around the corner, I hope OVI store will have more apps that are actually awesome!

      • Jim

        actually iphone and android has this huge number of apps because they don’t support flash(since android 2.2). plus a lot of iphone apps are books converted as apps. I hope ovi store will not accept this type of apps, and make me search through millions of crappy applications.

        About porting it;s not that easy as you think. yes they show you some small , simple examples, but making a port for a large software may take some time and resources. companies will port their programs only if they see a huge potential in ovi store. Also a lot of applications target US traffic so even if ovi store has a huge number of downloads, they are interested more in the number of downloads for a certain region( US in our case)

  • Yougo

    Ovi store is what nokia should now work hard on! Dumb people like app and games and are not willing to go somewhere else to look for app and games

  • Yougo

    What are the selected iphone games and apps that should be ported to nokia platform?

    Is it us or the original developers to do this job?

  • Pingback: Qt Contest: Port a desktop App to MeeGo/Symbian handheld for Ovi Store and win EUR 10,000! | My Nokia Blog()

  • You may also use a search engine and type in the keyword stated above.
    ) In the eighties using crushed tiger nuts and various
    pellets soaked in tiger nut extract, powdered palatants and enhancers for example
    was a great edge for me. Plus paste melting produces unusual bait
    movement and added dimensions to a curious fish.

    Feel free to surf to my blog post; big fish chips (Ilene)

  • You will probably need an additional i – Phone adapter piece if you want to charge two i – Phones
    at once but it won’t add much to the cost. Here are
    five i – Phone apps that approach organization and
    productivity from different directions. With the staggering number of i – Phone application development and submitted to itunes and the apple store over the last few years, you need to
    ensure that you have come up with a brainy idea.

    My blog :: Comment Tricher Sur Hay Day

  • Louis Rams): Jackson was a premier back a few years ago.

    Sundays should be gleefully occupied with an all-day bacchanalia of football consumption.
    They may lack the motivation to invest personal energy in critical project work.

    My site – How To Hack Top Eleven Tokens

  • Howdy, i browse your blog site from time
    to time and i very own a similar a person and i was just pondering if you get a large amount of
    spam responses? If so how do you defend in opposition to
    it, any plugin or anything at all you can suggest? I get so considerably recently it truly is driving me
    mad so any help is really a lot appreciated.

    Check out my web site … online psychic reading (Shawna)

  • alpways i used to read smaller articles which as well clear
    their motive, and that is also happening wjth this post which I amm reading now.

    Take a lookk at my web blog: black black diamond appeal appeal medical skin care

  • Hi! I just wanted to ask if you ever have any problems with hackers?
    My last blog (wordpress) was hacked and I ended up losing several weeks
    of hard work due to no data backup. Do you have any
    solutions to prevent hackers?

    my blog android

  • The things that you consume can also affect your performance in mattress.

    But most of the STDs can also pass on during other types of sexual activities like oral sex and anal intercourse.

    My homepage: home std test (Kerrie)