Qt Development for Android - Best Practices?



  • Hello all...

    I've been toying around with Qt for a while on the Mac, and am interested in writing code that will run on Android (and other mobile/other resolution platforms). I have all the Qt tools built to cross-compile for Android, and was able to run what I had already written for the Mac in the simulator.

    Of course, it looks terrible. OK, so it didn't look so great to begin with, but...

    I haven't written any "native" code for Android, or other mobile platform before. What I'm looking for is some kind of best-practices documentation that would explain things to be aware of when writing Qt applications that will be targeted for mobile platforms, and what Qt objects/methods should be used in that context and how to use them.

    I'd be happy will something that describes a small fraction of all that. I'm sure there are books out there about how to code in Objective-C and CocoaTouch for iPhone and Java for Android, but what would be awesome is something that describes how to write for those platforms using Qt.

    Any thoughts? Ideas? Pointers? Manuscripts? ;)

    Thanks for listening!

    -Eric


  • Moderators

    at least you will have to wait until Qt 5.2 is released and thus Android is fully supported. Meaning there will be also a more complete documentation. Then after some time people will have more experience with working with it and give some hints, etc.
    Currently Qt for android is just a tech preview and there is very little material available, it's just too early to ask for detailed material.



  • [quote author="raven-worx" date="1381128098"]at least you will have to wait until Qt 5.2 is released and thus Android is fully supported. Meaning there will be also a more complete documentation. Then after some time people will have more experience with working with it and give some hints, etc.
    Currently Qt for android is just a tech preview and there is very little material available, it's just too early to ask for detailed material.[/quote]

    Hi,

    I agreed to raven-worx. we have to wait for Qt 5.2 version. Currently they have released the Qt 5.2 alpha version. I hope they will release the official version soon.

    Regards
    Ansif


  • Moderators

    the release is planned end of november, but ofc it's possible that the release gets delayed until mid december.



  • Yaa, good to hear this...



  • Great! Thanks for the responses!

    I shall wait patiently... ;)


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.