Discussion:
Android mismatch qmake / kit (QtC 4.7.2, Qt 5.12 Beta3)
(too old to reply)
ekke
2018-10-31 17:28:53 UTC
Permalink
I'm testing Qt 5.12 Beta 3 and QtCreator 4.7.2 (Android, macOS, iOS)

Building Android I'm getting this warning:

:-1: warning:
"xxx/android-ndk-r16b/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang"
is used by qmake, but
"xxx/android-ndk-r16b/toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-gcc"
is configured in the kit.
Please update your kit or choose a mkspec for qmake that matches your
target environment better.

App can be deployed to the Device without problems. Is it OK to ignore
the Warning ?


another question: for 5.12 Beta 2 I reads that NDK r16b should be used -
is this still valid for Beta 3 or should I use  a newer one ?

thx

ekke
Vikas Pachdha
2018-11-01 09:50:55 UTC
Permalink
Hi Ekke,

The reason for the warning is because Qt 5.12 Android is built with Clang and the Kit in the QTC is configured with gcc.
As of now, QTC does not auto detect Clang toolchains for Android. I am working on the patch, hopefully it should be fixed in QTC 4.8.

Regards,
Vikas Pachdha.

On 31.10.18, 18:29, "Android-development on behalf of ekke" <android-development-bounces+vikas.pachdha=***@qt-project.org on behalf of ***@ekkes-corner.org> wrote:

I'm testing Qt 5.12 Beta 3 and QtCreator 4.7.2 (Android, macOS, iOS)

Building Android I'm getting this warning:

:-1: warning:
"xxx/android-ndk-r16b/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang"
is used by qmake, but
"xxx/android-ndk-r16b/toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-gcc"
is configured in the kit.
Please update your kit or choose a mkspec for qmake that matches your
target environment better.

App can be deployed to the Device without problems. Is it OK to ignore
the Warning ?


another question: for 5.12 Beta 2 I reads that NDK r16b should be used -
is this still valid for Beta 3 or should I use a newer one ?

thx

ekke

_______________________________________________
Android-development mailing list
Android-***@qt-project.org
http://lists.qt-project.org/mailman/listinfo/android-development
ekke
2018-11-01 10:37:48 UTC
Permalink
Hi Vikas,

thx for the info - so I'll ignore these warnings.

ekke
Post by Vikas Pachdha
Hi Ekke,
The reason for the warning is because Qt 5.12 Android is built with Clang and the Kit in the QTC is configured with gcc.
As of now, QTC does not auto detect Clang toolchains for Android. I am working on the patch, hopefully it should be fixed in QTC 4.8.
Regards,
Vikas Pachdha.
I'm testing Qt 5.12 Beta 3 and QtCreator 4.7.2 (Android, macOS, iOS)
"xxx/android-ndk-r16b/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang"
is used by qmake, but
"xxx/android-ndk-r16b/toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-gcc"
is configured in the kit.
Please update your kit or choose a mkspec for qmake that matches your
target environment better.
App can be deployed to the Device without problems. Is it OK to ignore
the Warning ?
another question: for 5.12 Beta 2 I reads that NDK r16b should be used -
is this still valid for Beta 3 or should I use a newer one ?
thx
ekke
_______________________________________________
Android-development mailing list
http://lists.qt-project.org/mailman/listinfo/android-development
Loading...