error in qglobal.h
Solved
General and Desktop
-
wrote on 6 Dec 2015, 06:58 last edited by clogwog 12 Jun 2015, 07:08
After finding the following error, i removed and re-installed the latest Qt environment (OSx) from scratch and i'm still getting :
/Users/user/Qt/5.5/clang_64/lib/QtCore.framework/Headers/qglobal.h:39:12: fatal error: 'cstddef' file not found # include <cstddef>
when compiling a qml project.
line 39 of qglobal.h looks like
#ifdef __cplusplus # include <cstddef> #endif
so i'm wondering if the extra space in the #include directive is what is causing it ? any tips where i can investigate further ?
-
wrote on 6 Dec 2015, 07:07 last edited by clogwog 12 Jun 2015, 07:09
nevermind, i saw someone had a different error but adding
QMAKE_MAC_SDK = macosx10.11
in the pro file also fixes this.
2/2