Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-20784

Provide feedback if no matching Android API is available to build a project

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Not Evaluated
    • None
    • Qt Creator 4.6.2
    • Android Support
    • None

    Description

      Following on from this, Creator should provide some sort of error message or feedback that the user is trying to use an Android API level that isn't available. In my case, I only have Android 5.0 (Lollipop) installed, which is API level 21. The default is 16. The error message I get when building with the default API level of 16 is:

      ../../qt5-dev-android-debug/qtbase/include/QtCore/../../../../qt5-dev/qtbase/src/corelib/global/qglobal.h:50:22: fatal error: assert.h: No such file or directory
       #  include <assert.h>
                            ^
      

      Changing the minimum version to 21 allows me to build successfully.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            portale Alessandro Portale
            mitch_curtis Mitch Curtis
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes