Unsolved fatal error: 'type_traits' file not found - Qt 5.14 Preview Android
-
Hi,
I’m giving a try to Qt 5.14 Preview on Android and when compiling an existing project I’m having this:
In file included from /Users/nsantos/Qt/5.14.0/android/include/QtGui/QGuiApplication:1:
In file included from /Users/nsantos/Qt/5.14.0/android/include/QtGui/qguiapplication.h:43:
In file included from /Users/nsantos/Qt/5.14.0/android/include/QtGui/qtguiglobal.h:43:
/Users/nsantos/Qt/5.14.0/android/include/QtCore/qglobal.h:45:12: fatal error: 'type_traits' file not foundDoes anyone knows how to solve this?
I’ve been googling around but couldn’t find a solution yet
Thanks!
Regards,
Nuno
-
I have not tried 5.14 on Android yet, so I might be wrong. But I've seen this error before and it was usually caused wrong NDK API level. Make sure you're using recent enough SDK, NDK and try to bump the NDK platform (Qt Creator, for some reason, default to API level 16 which is too old).