Important: Please read the Qt Code of Conduct -

Qt Creator's wizard-created template project has issues right out of the box

  • I've just installed Qt Creator 4.12.2 with Qt 5.15.2 on Windows 10 and created a fresh Qt Widgets project with the wizard (qmake, translation file none, Desktop Qt 5.15.2. MSVC2015 64bit kit, no add as subproject, no version control).

    Right out of the box, the project has 2 issues:

    • error: Project ERROR: You need to set the ANDROID_NDK_ROOT environment variable to point to your Android NDK.
    • error: Could not read qmake configuration file D:/ProgramFiles/Qt/5.15.2/android/mkspecs/android-clang/qmake.conf.

    The Android notification surprises me since I had selected the Qt Widgets Application, which is described as supporting Desktop, WebAssembly, and Windows Runtime.

    It also says the project is "unconfigured" on the left sidebar. When I click on configurations, I see a lot of configuration options but it is not clear what it is that I need to configure.

    All run and build options are disabled.

    I was expecting to create a fresh project with the wizard and immediately be able to click a "run" button and see an empty template main window popup. What did I do wrong?

Log in to reply