[Development] Issue while compiling with MinGw_64

Khuram Ali khuram.ali at aim.com
Tue Jul 31 15:01:43 CEST 2018

with correct subject line.

Khuram Ali

-----Original Message-----
From: Khuram Ali via Development <development at qt-project.org>
To: development <development at qt-project.org>
Sent: Tue, Jul 31, 2018 3:00 pm
Subject: Re: [Development] Calendar classes: API review request

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());
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!

Khuram Ali

Development mailing list
Development at qt-project.org

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

More information about the Development mailing list