[Interest] mingw & Qt 5.2.0 problems (building for Android)

Thiago Macieira thiago.macieira at intel.com
Tue Dec 17 07:53:08 CET 2013


On terça-feira, 17 de dezembro de 2013 09:50:19, Igor Mironchik wrote:
> The problem is that that in stdio.h _popen() and _pclose() defined under
> the #ifndef __STRICT_ANSI__.
> 
> And -std=c++0x option defines __STRICT_ANSI__.
> 
> And I just yesterday installed mingw with online installer...

Must be a recent change in MinGW. Current versions we're testing with build 
just fine.

Two .pro files have a fix for that:

src/corelib/corelib.pro:win32-g++*:QMAKE_CXXFLAGS_CXX11 = -std=gnu++0x
src/tools/bootstrap/bootstrap.pro:win32-g++*:QMAKE_CXXFLAGS_CXX11 = -
std=gnu++0x


-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20131216/c8b7fe50/attachment.sig>


More information about the Interest mailing list