Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
6.4.1
-
None
-
Windows; Qt 6.4.1; NDK 23.1.7779620
-
-
5865452ca (tqtc/lts-6.2), 03262625a (tqtc/lts-5.15), 49f62e8c5 (dev), e526d0116 (6.4)
Description
It tries to use arm-linux-androideabi-ranlib file. But this file no longer exists in NDK 23 (which is required by Qt 6.4.1 according to docs) at least in its Windows version.
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
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.
P.S. I've added the repro sample. The same issue happens under Linux also.
Attachments
Issue Links
- is duplicated by
-
QTBUG-98270 Building with Android NDK r23b fails due to missing ranlib / GNU binutils
- Closed