Yes. For older Qt versions, you need to build with GCC, which means you need an older NDK. For Qt 5.12, you need to build with clang, meaning you use the current NDK version.

On 03/02/2019 14:44, Oleg Evseev wrote:
I did try NDK r19. App with Qt 5.12.1 for arm64-v8a builds fine.

But Qt 5.9.5 apps don't:
Cannot run target compiler 'D:\Android\android-ndk-r19/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/bin/arm-linux-androideabi-g++' Cannot run target compiler 'D:\Android\android-ndk-r19/toolchains/x86-4.9/prebuilt/windows-x86_64/bin/i686-linux-android-g++'

And shouldn't I assume, because it was not fixed. They builds only with NDK 16b.

Thanks for help!

вс, 3 февр. 2019 г. в 15:11, Nikos Chantziaras <rea...@gmail.com <mailto:rea...@gmail.com>>:

    That problem was solved, finally. So Qt 5.12 works best with the latest
    NDK using clang instead of GCC.


    On 03/02/2019 13:41, Oleg Evseev wrote:
     > No, I didn't.
     > If I remember correctly building qt 5.9.5 android apps (or it was
    due to
     > Qt Creator?) didn't work with ndk newer that r16.
     >
     > I will try newer ndk, thanks. NDK r19b works too, right?
     >
     > вс, 3 февр. 2019 г. в 14:32, ekke <e...@ekkes-corner.org
    <mailto:e...@ekkes-corner.org>
     > <mailto:e...@ekkes-corner.org <mailto:e...@ekkes-corner.org>>>:
     >
     >     have you tried NDK r18b ?
     >
     >     ekke
     >     Am 03.02.19 um 12:27 schrieb Oleg Evseev:
     >>     Hi all,
     >>
     >>     Install qt 5.12.1 for android arm64-v8a using MaintenanceTool .
     >>     Trying to build gallery control example on Windows 7.
     >>
     >>     On "Generating Android Package" step got errors:
     >>
     >>     Command does not exist:
>>  D:\Android\android-ndk-r16b/toolchains/llvm/prebuilt/windows-x86_64/bin/llvm-readobj.exe
     >>
     >>     5.9.5 and 5.12.0 works fine.
     >>
     >>     How to fix this?
     >>     Thanks in advance for help!
     >>
     >>     --
     >>     With regards, Oleg.


_______________________________________________
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest

Reply via email to