Solved Erreur with Qt5.8 beta on mac
-
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
-
Hi,
AFAIK, it should be
macx: QMAKE_MAC_SDK = macosx10.12
Also, did you re-run qmake after adding that line ?
-
Unfortunately, this does not work.
And yes I clean my project and rerun qmake.
-
Do you have a .qmake.stash file somewhere around ?
-
@SGaist
Yes, I have and I remove, ... and this works now ;-).Thank you.
PS : Do you think this is a bug ?
-
Nop not a bug, but when the SDK version changes, it needs to be regenerated.