Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Erreur with Qt5.8 beta on mac
Forum Update on Monday, May 27th 2025

Erreur with Qt5.8 beta on mac

Scheduled Pinned Locked Moved Solved General and Desktop
6 Posts 2 Posters 1.2k 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.
  • CharlieGC Offline
    CharlieGC Offline
    CharlieG
    wrote on last edited by
    #1

    Hi,

    I have just installed Qt 5.8 beta on my mac OS X Sierra (10.12). I have a problem with execute a simple app (eg : when I create a new project) and I get this message :

    /Applications/Qt5/Qt5.8/5.8/clang_64/lib/QtCore.framework/Headers/qsystemdetection.h:95: erreur : 'TargetConditionals.h' file not found
    #  include <TargetConditionals.h>
               ^
    

    I have add this line in my *.pro

    mac::QMAKE_MAC_SDK = macosx10.12
    

    but the problem is same. Note that I have not this problem with Qt5.7.

    Have you an idea to fixe this issue.

    Bye.

    Charlie

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

      Hi,

      AFAIK, it should be macx: QMAKE_MAC_SDK = macosx10.12

      Also, did you re-run qmake after adding that line ?

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

      1 Reply Last reply
      1
      • CharlieGC Offline
        CharlieGC Offline
        CharlieG
        wrote on last edited by
        #3

        Unfortunately, this does not work.

        And yes I clean my project and rerun qmake.

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

          Do you have a .qmake.stash file somewhere around ?

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

          CharlieGC 1 Reply Last reply
          0
          • SGaistS SGaist

            Do you have a .qmake.stash file somewhere around ?

            CharlieGC Offline
            CharlieGC Offline
            CharlieG
            wrote on last edited by
            #5

            @SGaist
            Yes, I have and I remove, ... and this works now ;-).

            Thank you.

            PS : Do you think this is a bug ?

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

              Nop not a bug, but when the SDK version changes, it needs to be regenerated.

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

              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