[Qbs] Issues building for Android

Christian Kandeler christian.kandeler at qt.io
Mon Oct 12 16:44:22 CEST 2020


On Mon, 12 Oct 2020 16:20:44 +0200
Ola Røer Thorsen <ola at silentwings.no> wrote:

> Compiler feature detection failure!
> The command
> "/home/olathorsen/Android/Sdk/ndk/21.1.6352462/toolchains/llvm/prebuilt/linux-x86_64/bin/clang++
> -x c++ -E -dM -target arm-linux-androideabi -target '' -fPIC -std=c++14 -"
> terminated with exit code 1.
> error: unknown target triple 'unknown', please use -triple or -arch

Do you have qbs.architectures set in your project? You could try setting it to some permutations of the supported set (as printed by the quoted Qt detection code), and see whether they all fail or just e.g. the ARM one.


Christian


More information about the Qbs mailing list