How does Qt mobile work? - qt

in Qt 5.4 it is possible to develop Apps for Android and iOS. I want to understand the architecture behind it. There is nothing regarding this in the docu of Qt.

As to Android, you might start here.
Bogdan Vatra is the guy behind the Android Qt implementation:
http://www.kdab.com/qt-on-android-episode-1/

Related

Application development for meego & symbian with QT

i'm beginner for mobile application development. i have knowledge of C language. i want to develop some app for meego ( Nokia N9) & symbian devices. i already downloaded QT sdk.now what i want to learn for application development. C++ or QML? as i told i'm very beginner for this languages.where can i start? pls help me. thanks
What you have to do is starting by learning the programing language which corresponds with the framework you will use. Once you do that, you can start learning how to use the framework.
Qt : C++
Qt Quick : JavaScript and QML
After that, it depends on which plateforms you want to develop to :
Classic Desktop OSes (Windows, Linux, Mac) : Qt with C++ is for you. You can use Qt Quick too but for the moment it is not really made for those plateforms. Moreover, you got skills in C so starting by learning C++ and then Qt may be easier for you since C and C++ have got lots of common points.
Mobile OSes (Symbian, MeeGo) : developing in C++ may be harder on mobile OSes than on PC OSes. So you had better use Qt Quick with QML and JavaScript. Moreover, Qt Quick was made for development on mobile plateforms. Unlike Desktop OSes, you have got a real set of reusable components such as Buttons, Sliders, Scroll Bars... Those Qt Quick Components (that's their name) exist also on Desktop but they are not (until Qt5 and Qt Quick 2.0) as developed as their equivalent on Symbian and MeeGo.
Qt will always be faster and fluid but it is easier to code with Qt Quick.
You can also develop hybrid applications with both C++/Qt parts and QML/JS/Qt Quick parts but it is more advanced. This will be the next step. ;-)

Will a Qt based GUI app work on the Android OS?

If I write a Qt Gui application in c++, will it work on the Android OS?
You might be interested in this video: http://labs.qt.nokia.com/2011/02/28/necessitas/
So, yes, it is possible. Personally I would recommend always using the native platform where possible - chances are it's going to be more stable across all the various Android devices.

Which platform for mobile development?

I have to develop an application which requires Bluetooth and profile change functionality for Symbian phones. After spending sometime I found that following options:
Java: but java does not allow to change profile
Symbian C++: I read basics for Symbian C++ and created some basic stuffs. Symbian extended APIs provide simple APIs for Profile and Bluetooth (I haven't tested yet). But its required lot of efforts to grab these. Specially certificate singing problem. I want to test my application on different devices and wish to give my friends whom having different cellphones. But couldn't due to signing problem.
QT: I am still confused on this. Whether this platform capable to fulfill my requirement or not. Secondly which phone supports QT or not...
Honestly, I am bit frustrated while writing this. I am looking someone, experience in these matter, to guide me in this situation.
You can combine native C++ with Qt. Though you'll lose some of the cross-platform nature of Qt by mixing native C++ with it.
See the XQProfile example on Forum Nokia Wiki for mixing Qt and native Symbian C++ for profile changing.
Qt can be installed to practically all devices from S60 3rd Edition FP1 (S60 3.1) onwards. Newer device models ship with Qt preinstalled. Forum Nokia has device specifications that you can filter based on Qt availability.
QT (+ QML) is the language of choice going forward. I believe it is currently on the following phones: N8,C7,C6,E7. i version 4.6.1 with version 4.7 which has the QML support due shortly.
However if you need to target current and older devices then your only choice is Symbian C++.

Qt - XQAlarm in Desktop versions

I'm starting to porting an Android app to Qt. Planning to port it to MeeGo, Symbian and Linux-Windows desktop versions.
My app uses alarms in Android and I have found XQAlarm class in Qt to be very usefull, BUT its belongs to Mobile Extensions package.
Any equivalent class for desktop (Linux, Windows)? or a workarround class?
If this is for mobile extension, say Symbian, then you will have to use native OS API.
Sorry, by mistake I posted the reply here, instead of replying to : How to set alarm in qt mobility application
I was searching for similar questions on this site for "xqalarm" and got this hit.

where to start learning nokia application?

i have no idea about the nokia app all i know it is used the c++ and QT SDK correct me if I am wrong.
any references or book will be great.
Thanks
It depends, do you want to develop for Symbian or Maemo (more recent but available on less devices) ?
For Maemo, you could start with the SDK Virtual Image (to use in VirtualBox or VMWare):
http://maemovmware.garage.maemo.org/2nd_edition/
There is also a Virtual PC version, but I'm not sure if the image is as recent:
https://garage.maemo.org/projects/vpc-sdk
Otherwise, you could also check out the Nokia Forums, you could start here: http://www.forum.nokia.com/Library/Tools_and_downloads/Other/Maemo/
Also, you should also get the QT Tools if you're doing cross-platform: http://www.forum.nokia.com/Develop/Qt/Tools/
I think you want to google "Symbian":
http://wiki.forum.nokia.com/index.php/How_do_I_start_programming_for_Symbian_OS%3F
For Nokia phones, you have 2 types of applications:
Java application: J2ME, for feature phones (Series 40) and Symbian
QT: for Symbian and Maemo
The nokia forum is a great start for learning:
www.forum.nokia.com

Resources