Problem when run Qt MinGW
-
I just downloaded and installed Qt 5.1.1 MinGW Window. Then I open the example project calculator but encounter problems when I click RUN. The compile outputs are like
@c:\qt\qt5.1.1\tools\mingw48_32\lib\gcc\i686-w64-mingw32\4.8.0\include\c++\cstdlib:72: In file included from c:\qt\qt5.1.1\tools\mingw48_32\lib\gcc\i686-w64-mingw32\4.8.0\include\c++\cstdlib:72:0,@
@c:\qt\qt5.1.1\tools\mingw48_32\i686-w64-mingw32\include\stddef.h:21: error: 'errno_t' does not name a type
errno_t __cdecl _get_errno(int *_Value);
^@
@c:\qt\qt5.1.1\tools\mingw48_32\i686-w64-mingw32\include\stddef.h:7: In file included from c:\qt\qt5.1.1\tools\mingw48_32\i686-w64-mingw32\include\stddef.h:7:0,@There are many this kind of errors (80+ issues)
-
koahnig, I'm using Qt creator as IDE. The calculator project is from Qt examples and I didn't change anything in it.
I think maybe it has something to do with compiler? As it reported something wrong with <cstdlib> and <algorithm>..!http://v2.freep.cn/3tb_131215214305cqyb512293.png(screenshot)!