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. Minimal Android version to run QT5.1 apps?
Forum Updated to NodeBB v4.3 + New Features

Minimal Android version to run QT5.1 apps?

Scheduled Pinned Locked Moved Mobile and Embedded
10 Posts 5 Posters 4.1k Views 1 Watching
  • 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.
  • H Offline
    H Offline
    Huk256
    wrote on 3 Sept 2013, 07:40 last edited by
    #1

    Hello.

    I would like to ask: what is the minimal Android version to run applications build with QT 5.1 ? I tried running simple QML examples (Maroon QML example game) on my HTC Wildfire S (Android 2.3.5), and no matter what options I tried, it always crashed. On the other hand - it works (although without sound effects), on my Android 4.0 tablet.

    Is QT targeting only Android 4.x and not the older versions? As I recall older QT4 Necessitas worked on my Wildfire S...

    Thanks in advance for the answers.

    Best regards.

    1 Reply Last reply
    0
    • K Offline
      K Offline
      kuzulis
      Qt Champions 2020
      wrote on 3 Sept 2013, 08:08 last edited by
      #2

      The Qt 5.1 for android is buildet with Android's API Level = 9. Thus, theoretically you can launch it on Android 2.3.x. (if I am not mistaken).

      But a problem that Qt5.1's libraries is compiled for the ARMv7 processor, but the majority of old devices is used by ARMv6. Therefore you receive an crash on 2.3.5 device.

      IMHO.

      1 Reply Last reply
      0
      • H Offline
        H Offline
        Huk256
        wrote on 3 Sept 2013, 08:42 last edited by
        #3

        I see, but is it possible to compile required qt libraries during application compilation and upload them to the device?

        1 Reply Last reply
        0
        • M Offline
          M Offline
          Moster
          wrote on 3 Sept 2013, 08:56 last edited by
          #4

          You could try to build Qt5 for armeabi and not armeabi-v7a

          You can find some information in here:
          http://qt-project.org/forums/viewthread/30761/

          1 Reply Last reply
          0
          • R Offline
            R Offline
            Rizzer
            wrote on 8 Dec 2014, 01:52 last edited by
            #5

            Do Qt 5.4 apps work on Android 2.3? Mine certainly does not, my app comes up with a blank screen (but works on Android 4.4). I don't think the problem is about armeabi, since simpler test apps mostly work (with armeabi-v7a). Problems are reported in QTBUG-41755.

            Has anyone tested Qt 5.4 apps on Android 2.3?

            1 Reply Last reply
            0
            • R Offline
              R Offline
              Rizzer
              wrote on 8 Dec 2014, 01:52 last edited by
              #6

              Do Qt 5.4 apps work on Android 2.3? Mine certainly does not, my app comes up with a blank screen (but works on Android 4.4). I don't think the problem is about armeabi, since simpler test apps mostly work (with armeabi-v7a). Problems are reported in QTBUG-41755.

              Has anyone tested Qt 5.4 apps on Android 2.3?

              1 Reply Last reply
              0
              • R Offline
                R Offline
                Rizzer
                wrote on 12 Dec 2014, 05:33 last edited by
                #7

                The problem I had was fixed in the final version of Qt 5.4, my app now runs on Android 2.3.

                1 Reply Last reply
                0
                • R Offline
                  R Offline
                  Rizzer
                  wrote on 12 Dec 2014, 05:33 last edited by
                  #8

                  The problem I had was fixed in the final version of Qt 5.4, my app now runs on Android 2.3.

                  1 Reply Last reply
                  0
                  • M Offline
                    M Offline
                    msBooM
                    wrote on 24 Feb 2015, 12:24 last edited by
                    #9

                    Hello.
                    I test QML app build for Android. I success compile and run my app on Nexus7 (armv7) and virtual android device.
                    Now i try compile this app for my HTC Wildfire S (armv6).
                    I clone auto-detected kit for android armeabi-v7a.
                    In projects -> Build & Run add new Kit and in "Build Steps - Build Android APK" select Android build SDK = anroid-10.

                    Now, when I build my app, I have error message in "Compile Output":

                    ...
                    BUILD FAILED
                    /home/user/projects/android/android-sdk-linux/tools/ant/build.xml:653: The following error occurred while executing this line:
                    /home/user/projects/android/android-sdk-linux/tools/ant/build.xml:698: null returned: 1

                    Total time: 0 seconds
                    Building the android package failed!
                    ...
                    17:14:52: The process "/home/user/Qt5.4.0/5.4/android_armv7/bin/androiddeployqt" exited with code 14.
                    Error while building/deploying project positioning (kit: Android for armeabi armv6 (GCC 4.9, Qt 5.4.0))
                    When executing step "Build Android APK"


                    Can you help me?
                    How can I compile the app for armv6 (for run it on HTC Wildfire S).

                    Thanks for your reply.

                    1 Reply Last reply
                    0
                    • M Offline
                      M Offline
                      msBooM
                      wrote on 24 Feb 2015, 12:24 last edited by
                      #10

                      Hello.
                      I test QML app build for Android. I success compile and run my app on Nexus7 (armv7) and virtual android device.
                      Now i try compile this app for my HTC Wildfire S (armv6).
                      I clone auto-detected kit for android armeabi-v7a.
                      In projects -> Build & Run add new Kit and in "Build Steps - Build Android APK" select Android build SDK = anroid-10.

                      Now, when I build my app, I have error message in "Compile Output":

                      ...
                      BUILD FAILED
                      /home/user/projects/android/android-sdk-linux/tools/ant/build.xml:653: The following error occurred while executing this line:
                      /home/user/projects/android/android-sdk-linux/tools/ant/build.xml:698: null returned: 1

                      Total time: 0 seconds
                      Building the android package failed!
                      ...
                      17:14:52: The process "/home/user/Qt5.4.0/5.4/android_armv7/bin/androiddeployqt" exited with code 14.
                      Error while building/deploying project positioning (kit: Android for armeabi armv6 (GCC 4.9, Qt 5.4.0))
                      When executing step "Build Android APK"


                      Can you help me?
                      How can I compile the app for armv6 (for run it on HTC Wildfire S).

                      Thanks for your reply.

                      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