[Interest] Can't build with Qt 6.4.1 for Android

Alexander Dyagilev alervdvcw at gmail.com
Fri Nov 18 19:16:39 CET 2022


*Workaround* I've found for now is to just make a link (or just copy) 
from llvm-ranlib.exe to arm-linux-androideabi-ranlib.exe.

Is there any better solution?

On 11/18/2022 8:07 PM, Alexander Dyagilev wrote:
> Hello,
>
> Switched to the required NDK 23.1.7779620 and now getting the 
> following weird error:
>
> C:\Users\alexa\AppData\Local\Android\Sdk\ndk\23.1.7779620/toolchains/llvm/prebuilt/windows-x86_64/bin/arm-linux-androideabi-ranlib 
> ..\bin\libnetwrksniff_armeabi-v7a.a
> process_begin: CreateProcess(NULL, 
> C:\Users\alexa\AppData\Local\Android\Sdk\ndk\23.1.7779620/toolchains/llvm/prebuilt/windows-x86_64/bin/arm-linux-androideabi-ranlib 
> ..\bin\libnetwrksniff_armeabi-v7a.a, ...) failed.
> make (e=2): Tmake[1]: Leaving directory 
> 'C:/Work/Source/build-fdm-Android_Qt_6_4_1_Clang_armeabi_v7a-Debug/netwrksniff'
> he system cannot find the file specified.
> make[1]: *** [Makefile:90: ..\bin\libnetwrksniff_armeabi-v7a.a] Error 2
>
> It builds fine with NDK 21.3.6528147, but can't run - throws exception...
>
> As far as I remember I used to build & run it with Qt 6.3.2 (and NDK 
> 22.1.7171670) without any troubles.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20221118/c667a865/attachment.htm>


More information about the Interest mailing list