[Interest] Generating Android Package Qt 5.12.1 - llvm-readobj.exe does not exist

Nikos Chantziaras realnc at gmail.com
Sun Feb 3 14:08:43 CET 2019


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 <realnc at gmail.com 
> <mailto:realnc at 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 <ekke at ekkes-corner.org
>     <mailto:ekke at ekkes-corner.org>
>      > <mailto:ekke at ekkes-corner.org <mailto:ekke at 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.





More information about the Interest mailing list