[Development] Issue while compiling with MinGw_64

Khuram Ali khuram.ali at aim.com
Tue Jul 31 17:52:00 CEST 2018


Thank you! but it would be far easier if the fix from philippe dunski could be added in official Qt distribution. It would be compatible with latest MinGW distribution. 


Regards,
Khuram Ali





-----Original Message-----
From: H-J Euler <KoAhnig at hotmail.de>
To: Khuram Ali <khuram.ali at aim.com>; development <development at qt-project.org>
Sent: Tue, Jul 31, 2018 5:44 pm
Subject: AW: [Development] Issue while compiling with MinGw_64



End of last year I experimented with different “MinGW 64 bit compilers” for compilation of boost and Qt libs.
I succeeded using MinGW 7.2.0  x86_64-7.2.0-posix-seh-rt_v5-rev1 from  http://mingw-w64.org on Qt 5.9.3. The most challenging part was the MinGW interface for finding and installing the right combination for the actual 64bit compiler. For an unexperienced user a nightmare IMHO. 
 
Hope this helps. 
 
Best regards
 
Von: Development <development-bounces+koahnig=hotmail.de at qt-project.org>Im Auftrag von Khuram Ali via Development
Gesendet: Dienstag, 31. Juli 2018 17:19
An: thiago.macieira at intel.com; development at qt-project.org
Betreff: Re: [Development] Issue while compiling with MinGw_64
 
Thanks Thiago! 

Yes you are right. i am using nuwen MinGW distribution and it doesn't contain _wgetenv_s. 

Regards,
Khuram Ali

 

-----Original Message-----
From: Thiago Macieira <thiago.macieira at intel.com>
To: development <development at qt-project.org>
Sent: Tue, Jul 31, 2018 5:00 pm
Subject: Re: [Development] Issue while compiling with MinGw_64

On Tuesday, 31 July 2018 06:21:41 PDT Khuram Ali via Development wrote:
> qglobal.cpp:3333:5: error: '_wgetenv_s' was not declared in this scope

The problem is your MinGW headers and CRT. You need one that has _wgetenv_s.

In the MinGW-w64 headers I have, they exist. So check if you should erase your 
MinGW installation and install another.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
Software Architect - Intel Open Source Technology Center



_______________________________________________
Development mailing list
Development at qt-project.org
http://lists.qt-project.org/mailman/listinfo/development



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


More information about the Development mailing list