I’m a bit new to QT but it think this is not normal:
I made a new QT project and copied all the content from a project made in eclipse, in order to make the GUI using QT Creator. When i hit build, this is the error that i got, and from here i think other 8 errors chained along: D:\Qt\Tools\mingw482_32\i686-w64-mingw32\include\c++\string:38: In file included from D:/Qt/Tools/mingw482_32/i686-w64-mingw32/include/c++/string:38:0,
D:\Qt\Tools\mingw482_32\i686-w64-mingw32\include\c++\i686-w64-mingw32\bits\c++config.h:184: error: expected unqualified-id before ‘namespace’
namespace std
^
This is how it looks in c+config.h, where the error is being signaled:
namespace std
{
typedef SIZE_TYPE size_t;
typedef PTRDIFF_TYPE ptrdiff_t;
#if __cplusplus >= 201103L
typedef decltype(nullptr) nullptr_t;
#endif
}
If anybody could help me i would be most grateful,
Alex.
↧