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@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

--
Best Regards,
Igor Mironchik.

_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to