Important: Please read the Qt Code of Conduct -

Debugging Qt5.5 on Android 5.1

  • Hello,

    I am trying to develop an application with Qt 5.5.0 that shall run on Android 5.1. To see if everything is set up the right way, I created an application with the wizard and selected "Qt Quick Controls 1.3" which brings me a nice window with three buttons.

    When I "run" the application on my Nexus 9, everything is fine. But when I hit "Debug", the app pops up on the device, then closes immediately and the computer says
    Das Lesen der Debug-Informationen schlug fehl: "/home/andreas/Entwicklung/build-AndroidTest-Android_f_r_armeabi_v7a_GCC_4_9_Qt_5_5_0-Debug/app_process": not in executable format: File format not recognized
    (Reading debug information failed)

    I have already read that this has something to do with the Qt libraries bundled with the APK.
    But what else should I choose? Local libraries in /tmp are no longer supported as of Android 5.0 and when I choose Ministro, it complains about an invalid Qt version.

    How does everybody else here deal with this issue? Or have I done something wrong?

    Version information:
    Qt 5.5.0 downloaded from here
    Qt Creator 3.4.2
    Gentoo Linux on the host
    Android 5.1.1 on the tablet