Details
-
Bug
-
Resolution: Unresolved
-
Not Evaluated
-
None
-
Qt Creator 4.6.2
-
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.