Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. fatal error: 'type_traits' file not found - Qt 5.14 Preview Android
Forum Update on Monday, May 27th 2025

fatal error: 'type_traits' file not found - Qt 5.14 Preview Android

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
2 Posts 2 Posters 1.9k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • N Offline
    N Offline
    Nuno Santos
    wrote on last edited by Nuno Santos
    #1

    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 found

    Does anyone knows how to solve this?

    I’ve been googling around but couldn’t find a solution yet

    Thanks!

    Regards,

    Nuno

    1 Reply Last reply
    0
    • sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      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).

      (Z(:^

      1 Reply Last reply
      1

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved