Compiler missing for Android, UWP and Win x64 kits



  • Hello there, I have the latest QtCreator version 4.7.2 installed with following components
    I have a message saying that Qt cannot build kits for android architectures
    Morover, the UWP kits created have no compiler, and the Windows 64bit kit isn't working either

    I thought that mobile compilers were integrated in the Qt components.

    How can I solve those poblems ?
    Thanks !

    0_1543746361196_qt_composants.PNG
    3_1543746361197_qt_tools.PNG

    2_1543746361197_qt_mobiles_devices.PNG

    1_1543746361197_qt_kits.PNG
    4_1543746361198_qt_versions.PNG


  • Qt Champions 2018

    hi @r4ph0u, welcome.

    I thought that mobile compilers were integrated in the Qt components.

    No, they are not. For UWP you need the Microsoft MSVC compiler, for Android you need NDK and SDK.

    The only compiler delivered with Qt on Windows is (native) MinGW.

    Regards



  • @aha_1980 Hello
    Thanks for answering.
    I do have both the NDK and SDK (and the path are set in QtCreator) so it should not be a problem, right ? Or do I need to add the compiler manually ? How can I find it ?
    And how am I supposed to add the compiler, if the kit doesn't even appear in the list ? What about the Qt Version missing error ?

    I understand that UWP compilers only comes with MSVC. What about windows 64bit ? I installed MinGW 64bits compiler during the installation procedure, but they were no prebuilt component for MinGW 64bits, only for Win 64 MSVC. I guess I have to set it up manually ?


  • Qt Champions 2018

    @r4ph0u said in Compiler missing for Android, UWP and Win x64 kits:

    @aha_1980 Hello
    Thanks for answering.
    I do have both the NDK and SDK (and the path are set in QtCreator) so it should not be a problem, right ? Or do I need to add the compiler manually ? How can I find it ?

    I don't know Android good enough to help you here.

    I understand that UWP compilers only comes with MSVC. What about windows 64bit ?

    Same, thanks to licensing :( You also need the Debugging Tools for Windows to have a debugger.

    I installed MinGW 64bits compiler during the installation procedure, but they were no prebuilt component for MinGW 64bits, only for Win 64 MSVC. I guess I have to set it up manually ?

    Qt 5.12 will be MinGW64, IIRC. For 5.11, install the correct 32 bit MinGW version, or compile Qt from source with MinGW64 if you need it.

    Regards



  • Were you able to find the missing compiler for Android?

    I have the NDK, SDK, and Java JDK insatlled. In Qt Maintenance tool I have selected all the pre-built Android components under Qt 5.12.

    But under Tools>Options>Kits>Qt Versions - it still says that I am missing the following (depending on the Qt respective version).

    • arm-linux-android-elf-32bit
    • arm-linux-android-elf-64bit
    • x86-linux-android-elf-32bit

    Maintenance Tool:
    0_1547323189420_e9750877-da5d-4a4c-8c84-76a349e7a5a8-image.png

    Options>Devices>Android:
    0_1547323347119_6dbe19e1-569b-4252-b469-e5f584bcad40-image.png

    Options>Kits>Qt Versions:
    0_1547323740472_fc96119a-702a-4104-9e62-8801038d6b62-image.png

    Options>Kits>Compilers:
    0_1547323447413_9d70097c-a07e-494e-acad-a4e0d603595f-image.png


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.