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 eitherI thought that mobile compilers were integrated in the Qt components.
How can I solve those poblems ?
Thanks !
-
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 ?
-
@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:
Options>Devices>Android:
Options>Kits>Qt Versions:
Options>Kits>Compilers: