The following error is what I am getting in what in alot of HEADER file (qglobal.h, qchar.h, qnamespace.h, etc.)
Would be great, if someone could shed some light on it.
error: token "`" is not valid in preprocessor expressions
C:\Qt\5.4\mingw491_32\include\QtCore\qglobal.h:263: in expansion of macro 'QT_DISABLE_DEPRECATED_BEFORE' #define QT_DEPRECATED_SINCE(major, minor) (QT_VERSION_CHECK(major, minor, 0) > QT_DISABLE_DEPRECATED_BEFORE)
C:\Qt\5.4\mingw491_32\include\QtCore\qglobal.h:815: in expansion of macro 'QT_DEPRECATED_SINCE' #if QT_DEPRECATED_SINCE(5, 0)
You aren't supposed to include these headers directly, and some them are not free-standing. Always include the official headers such as
<QChar>or<QGlobal>which should work as expected.