Minimal Android version to run QT5.1 apps?



  • 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.



  • 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.



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



  • 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/



  • 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?



  • 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?



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



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



  • 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.



  • 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.


Log in to reply
 

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