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
_______________________________________________
Development mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/development

Reply via email to