Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
[SOLVED] QTCreator stopped working after updates MacOS
I have a BIG problem. After updating mac os to version 10.9.5, xcode to 6.0.1 and comand line tools to 6.0, QtCreator has stopped working.
I can open qtcreator and navigate through my projects. But if I try to build them everything fails. First, it doesn't find the c++ libraries. I get "<ostream> not found", "<vector> not found", etc etc.
I've solved it adding to the project file "INCLUDEPATH += /usr/include/c++/4.2.1/" before I had "INCLUDEPATH += /usr/include"...
But now it fails because it can't find <OpenGL/gl.h> which is included (# include <OpenGL/gl.h>) in line 102 of qopengl.h....
What is going on??? Any is having the same problems????
Maybe it can help...
I have seen that while compiling, clang gives me this warning:
clang: warning: no such sysroot directory: '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk'
I have found the solution here:
But, I have had to change qdevice.pri that is found inside the installation folder of qt:
I hope it can help!!
jmacey last edited by
Had the same problem today as well and the above solution worked for me.