Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. How to fix Qt Creator errors after installing macOS Mojave?
Forum Updated to NodeBB v4.3 + New Features

How to fix Qt Creator errors after installing macOS Mojave?

Scheduled Pinned Locked Moved Installation and Deployment
3 Posts 2 Posters 2.2k Views 2 Watching
  • 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.
  • rpieketR Offline
    rpieketR Offline
    rpieket
    wrote on last edited by
    #1

    Qt Creator is unable to compile my unchanged code after installing macOS 10.14 Mojave.

    First of all, there is a warning as soon as I open the project. It says "Project WARNING: Qt has only been tested with version 10.13 of the platform SDK, you're using 10.14. (...) Please downgrade the SDK you use to build your app to version 10.13 (...)"

    Attempting to compile then gives me the following error: "qglobal.h:45:12: fatal error: 'type_traits' file not found"

    Would downgrading SDK to 10.13 fix this? And how do I do that? I appreciate your help.

    [Qt version 5.11.2]
    [macOS 10.14 Mojave]

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      Did you also upgrade Xcode to 10.0 ?

      AFAIR, currently, you can't download older versions of the SDK unless you download an older version of Xcode.

      It's not ideal but you can alway build Qt yourself. It's not complicated on macOS.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      rpieketR 1 Reply Last reply
      0
      • SGaistS SGaist

        Hi,

        Did you also upgrade Xcode to 10.0 ?

        AFAIR, currently, you can't download older versions of the SDK unless you download an older version of Xcode.

        It's not ideal but you can alway build Qt yourself. It's not complicated on macOS.

        rpieketR Offline
        rpieketR Offline
        rpieket
        wrote on last edited by
        #3

        @SGaist Thank you. Yes my Xcode is version 10.0. I suppose a Mojave compatible version of Qt can't be far off. I'll wait.

        1 Reply Last reply
        0

        • Login

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