[Development] Issue while compiling with MinGw_64

Khuram Ali khuram.ali at aim.com
Tue Jul 31 15:21:41 CEST 2018




Dear All,



I am new to Qt and trying to build it from source using MinGw_64. However, i am getting an error as below,



qtbase/src/corelib/global/qglobal.cpp:3333:5: error: '_wgetenv_s' was not declared in this scope
     _wgetenv_s(&requiredSize, 0, 0, wname.data());
     ^~~~~~~~~~
C:/Qt/5.11.1/mingw8.1_64/src/qtbase/src/corelib/global/qglobal.cpp:3333:5: note: suggested alternative: '_wgetenv'
     _wgetenv_s(&requiredSize, 0, 0, wname.data());
     ^~~~~~~~~~
     _wgetenv
mingw32-make: *** [Makefile:360: qglobal.o] Error 1


I tried to find any clue online but seems that it is not very frequent. Any help would be highly appreciated. Thank you!


Regards,
Khuram Ali




Note: Thank you Oswald for your guidance about emails. 



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20180731/92738a38/attachment.html>


More information about the Development mailing list