Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. QT5 Examples on Android
QtWS25 Last Chance

QT5 Examples on Android

Scheduled Pinned Locked Moved Mobile and Embedded
7 Posts 4 Posters 5.6k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    Moster
    wrote on last edited by
    #1

    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

    1 Reply Last reply
    0
    • GianlucaG Offline
      GianlucaG Offline
      Gianluca
      wrote on last edited by
      #2

      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.

      1 Reply Last reply
      0
      • M Offline
        M Offline
        Moster
        wrote on last edited by
        #3

        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.

        1 Reply Last reply
        0
        • B Offline
          B Offline
          billconan
          wrote on last edited by
          #4

          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.

          1 Reply Last reply
          0
          • S Offline
            S Offline
            stereomatching
            wrote on last edited by
            #5

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

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

            1 Reply Last reply
            0
            • M Offline
              M Offline
              Moster
              wrote on last edited by
              #6

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

              1 Reply Last reply
              0
              • S Offline
                S Offline
                stereomatching
                wrote on last edited by
                #7

                [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

                1 Reply Last reply
                0

                • Login

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • Users
                • Groups
                • Search
                • Get Qt Extensions
                • Unsolved