Advertisements
Advertisements

Advertisements

How to: Porting Apps from iPhone and Android to Qt

| July 22, 2010 | 24 Replies
Advertisements

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

Advertisements

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 mynokiablog.com and tweet now and again @jaymontano. We also have a twitter and facebook accounts @mynokiablog and  Facebook.com/mynokiablog. Check out the tips, guides and rules for commenting >>click<< Contact us at tips(@)mynokiablog.com or email me directly on jay[at]mynokiablog.com