Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

App compiling problems on Qt5.13 or 5.12.3 for Android 64bit



  • Hello

    I have an app which is successfully deployed on the playstore compiled in Qt5.10.

    Now, that Android Console has also asked for independent 64bit APK, I am forced to try compiling the project in 5.12.3 or 5.13 which has provision to create such different 64bit APK.
    However, I am unable to compile the App on both these Android versions.
    If I try to run a simple Hello World Widget App with both the Qt versions, that happens successfully. However, my existing App has these problems.

    clang++: error: no such file or directory: '/opt/android/android-ndk-r19c/sources/cxx-stl/llvm-libc++/libs/arm64-v8a/libc++.so.21'
    make: *** [libMNSBLauncher.so] Error 1
    11:53:43: The process "/Users/kkale/android-ndk-r19c/prebuilt/darwin-x86_64/bin/make" exited with code 2.
    Error while building/deploying project mobilauncher (kit: Android for arm64-v8a (Clang Qt 5.13.0 for Android ARM64-v8a))
    When executing step "Make"
    

    I am unable to understand what needs to be changed in the Application between 5.10 and 5.13.
    It is not even possible to isolate individual aspects of the Application and test what is causing the problem as all the aspects are interdependent.


  • Moderators

    @TheCrowKaka
    hi
    check your android tool chain, Qt 5.12 and 5.13 require newer versions

    contrary to what is written here
    0_1563431465922_015b78b7-50e5-453b-a333-90ef7bb76785-image.png

    I would recommend r18 or 19 for NDK and not the newest 20 ish



  • @J.Hilk We are already using the ndk19c. Still this problem is seen.


Log in to reply