[Qt-creator] [Android-development] Android mismatch qmake / kit (QtC 4.7.2, Qt 5.12 Beta3)

Vikas Pachdha vikas.pachdha at qt.io
Thu Nov 1 10:50:55 CET 2018


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.io at qt-project.org on behalf of ekke at 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-development at qt-project.org
    http://lists.qt-project.org/mailman/listinfo/android-development
    



More information about the Qt-creator mailing list