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

Alexander Dyagilev alervdvcw at gmail.com
Fri Nov 18 21:05:26 CET 2022


https://bugreports.qt.io/browse/QTCREATORBUG-28472

Happens under Linux also. The repro sample is pretty simple - project 
should contain library subproject.

It's weird that I'm the only on the planet using libraries in Qt 
projects for Android platform.


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.
>


More information about the Interest mailing list