[Interest] mingw & Qt 5.2.0 problems (building for Android)
Igor Mironchik
igor.mironchik at gmail.com
Tue Dec 17 08:50:19 CET 2013
> On terça-feira, 17 de dezembro de 2013 09:01:07, Igor Mironchik wrote:
>> ..\shared\qmakeglobals.cpp:324:85: error: '_popen' was not declared in
>> this scope
>>
>> + QLatin1String("
>> -query")).toLocal8Bit()
>> , "r")) {
>>
>> ^
>> ..\shared\qmakeglobals.cpp:328:23: error: '_pclose' was not declared in
>> this scop
>> e
>> QT_PCLOSE(proc);
>> ^
>>
>> How can I fix it? Thanks.
> Change your MinGW. It's missing _popen or maybe it's declared without the
> leading underscore that is usual on Windows.
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...
>
>
>
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
--
Best Regards,
Igor Mironchik.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20131217/ad9c8052/attachment.html>
More information about the Interest
mailing list