QT5 Examples on Android



  • Hey,

    just got a quick question. Is actually any of those examples in the qt5 source supposed to work on android? Its always giving me some java error that it cant load some library. So I guess the libraries havent been ported to the android version yet

    Thanks in advance



  • Hello,
    I did not try all example... but few of them works also on Android (and iOS) with just few modifications.
    I tried:

    • padNavigator - you need to add the handling of touches for working on Android and iOS
    • Basic Graphics Layout - without any modification !
    • Audio input and Audio output - you need to set the correct dimension of main widget and set up the size of fonts for fit nicely into a mobile screen (however the audio did not works on my android phone :-()
    • Painter paths - also here you need to fit the main widget correctly for mobile devices
      ... and I did not remember what else I tried.

    In any case, all examples I tried compiles without problems.
    I did not try any QML / Qt Quick example because I'm not interested in that technology (for now).

    Cheers,
    Gianluca.



  • Thanks for the answer.

    I checked them out and they didnt want to work either first.
    But I found something else, I have all of those examples twice in my Qt5.1 folder, once in Qt5.1/Src and once in Qt5.1/gcc_64. The examples in gcc_64 are working fine, although from the looks of it they are the same. I didnt bother checking in detail yet.



  • I tried the official examples. They couldn't work. I didn't debug and check the the log.

    I created some project myself. that it worked.



  • bq. In any case, all examples I tried compiles without problems.

    May I know the examples of camera work or not?Thanks



  • The camera is not supposed to work yet as far as I know



  • [quote author="Moster" date="1371454089"]The camera is not supposed to work yet as far as I know[/quote]
    Thanks, that means we have to wait for Qt5.2 or Qt5.1.x
    I hope QtQuick control can work, some components are pretty useful even on mobile


Log in to reply
 

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