<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<br>
<blockquote cite="mid:2015629.A56GtIbhim@tjmaciei-mobl2" type="cite">
<pre wrap="">On terça-feira, 17 de dezembro de 2013 09:01:07, Igor Mironchik wrote:
</pre>
<blockquote type="cite">
<pre wrap="">..\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.
</pre>
</blockquote>
<pre wrap="">
Change your MinGW. It's missing _popen or maybe it's declared without the
leading underscore that is usual on Windows.</pre>
</blockquote>
<br>
The problem is that that in stdio.h _popen() and _pclose() defined
under the #ifndef __STRICT_ANSI__.<br>
<br>
And -std=c++0x option defines __STRICT_ANSI__.<br>
<br>
And I just yesterday installed mingw with online installer...<br>
<blockquote cite="mid:2015629.A56GtIbhim@tjmaciei-mobl2" type="cite">
<pre wrap="">
</pre>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Interest mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Interest@qt-project.org">Interest@qt-project.org</a>
<a class="moz-txt-link-freetext" href="http://lists.qt-project.org/mailman/listinfo/interest">http://lists.qt-project.org/mailman/listinfo/interest</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Best Regards,
Igor Mironchik.</pre>
</body>
</html>