I use Qt Creator and qmake. I never used cmake...
Why does not Qt Creator know about these changed in NDK 23? How could
6.4.1 be release then if Qt Creator does not support it...
On 11/18/2022 8:27 PM, Thiago Macieira wrote:
On Friday, 18 November 2022 09:16:04 PST Alexander Dyagilev wrote:
I've checked: I don't have this
The only ranlib there is llvm-ranlib.exe.
Is it Qt bug? Android NDK bug? My setup config bug?
Setup problem. The SDK/NDK must have changed and dropped the old GNU-style
triple-named executables in favour of only the LLVM ones. That means you must
update your CMake toolchain file to explain how to run this ranlib, or inform
CMake that running ranlib isn't necessary.
It isn't necessary to run ranlib if the ar command that created the .a file had
the "s" option. Looking at the rules.ninja that CMake created here, it opts to
command = $PRE_LINK && /usr/bin/cmake -E rm -f $TARGET_FILE && /usr/bin/ar
qc $TARGET_FILE $LINK_FLAGS $in && /usr/bin/ranlib $TARGET_FILE && $POST_BUILD
It could simply have used "qcs" instead of "qc" in the ar command and not run
Interest mailing list