Installation does not automatically install platforms. When creating a project, only the MinGW 32bit set is displayed. Question: how to add kits for Android? In the parameters in the "Build and Run" I did not quite understand how to do this. enter image description here

    1 answer 1

    Need to:

    I do not have at hand an installation with NDK and Qt, but everything is done in the same type.

    1. Rename Options
    2. Go to the item Build & Run (build and run)
    3. Go to the Compillers tab
    4. We press the button Add -> GCC, after which we enter:
      • Name: arbitrary, let it be Android NDK
      • Compiler path: specify the FULL path to the C ++ compiler from the NDK. There are several compilers there: what about versions, what about platforms.
      • ABI: there should be a few options, choose the right one
    5. Click Apply
    6. Go to the Qt Versions tab.
    7. We press Add and select qmake.exe of the required version of Qt. As well as compilers, it can be under several platforms - select the one you need. Set the name, let it be Android Qt
    8. Click Apply
    9. Go to the Kits tab.
    10. Click Add and give similar parameters:
      • Name: Android NDK
      • Device type: Android Device
      • Device: choose your android device that you set up on the tab that you have in the screenshot
      • Compiler: select the compiler we created in step 4.
      • Qt Version: select the profile we created for Qt in step 7.

    Actually that's all. Although, judging by the error message, you did everything right, but you only need to add profiles for Qt Version (steps 6-7) for Qt x86 / arm / mips. After that, Kits (Kits) can be generated themselves from the dialogue that you have on the screen.