Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-56887

qmake does not compile with MinGW 5.3

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3: Somewhat important
    • Resolution: Cannot Reproduce
    • Affects Version/s: 5.7.0
    • Fix Version/s: None
    • Component/s: Build tools: qmake
    • Environment:
      Windows 10 with MinGW 5.3.0 installed from mingw.org installer

      Description

      To reproduce, download MinGW 5.3 from mingw.org and run configure:

      g++ -c -o qmakebuiltins.o -std=c++11 -DUNICODE -ffunction-sections -g  -IE:\Qt\5.7\Src\qtbase/qmake -IE:\Qt\5.7\Src\qtbase/qmake/library -IE:\Qt\5.7\Src\qtbase/qmake/generators -IE:\Qt\5.7\Src\qtbase/qmake/generators/unix -IE:\Qt\5.7\Src\qtbase/qmake/generators/win32 -IE:\Qt\5.7\Src\qtbase/qmake/generators/mac -IE:\Qt\5.7\Src\qtbase/qmake/generators/integrity -IE:\Qt\5.7\Src\qtbase\include -IE:\Qt\5.7\Src\qtbase\include/QtCore -IE:\Qt\5.7\Src\qtbase\include/QtCore/5.7.0 -IE:\Qt\5.7\Src\qtbase\include/QtCore/5.7.0/QtCore -I../src/corelib/global -DHAVE_QCONFIG_CPP -IE:\Qt\5.7\Src\qtbase\mkspecs\win32-g++ -IE:\Qt\5.7\Src\qtbase/tools/shared -DQT_VERSION_STR=\"5.7.0\" -DQT_VERSION_MAJOR=5 -DQT_VERSION_MINOR=7 -DQT_VERSION_PATCH=0 -DQT_BUILD_QMAKE -DQT_BOOTSTRAPPED -DPROEVALUATOR_FULL -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_NO_COMPONENT -DQT_NO_COMPRESS -DQT_NO_THREAD -DQT_NO_QOBJECT -DQT_NO_GEOM_VARIANT -DQT_NO_DATASTREAM -DQT_NO_FOREACH -DQT_CRYPTOGRAPHICHASH_ONLY_SHA1 -DQT_JSON_READONLY -DQT_NO_STANDARDPATHS E:\Qt\5.7\Src\qtbase/qmake/library/qmakebuiltins.cpp
      E:\Qt\5.7\Src\qtbase/qmake/library/qmakebuiltins.cpp: In member function 'QByteArray QMakeEvaluator::getCommandOutput(const QString&) const':
      E:\Qt\5.7\Src\qtbase/qmake/library/qmakebuiltins.cpp:419:94: error: '_popen' was not declared in this scope
                                      + QLatin1String(" && ") + args).toLocal8Bit().constData(), "r")) {
                                                                                                    ^
      E:\Qt\5.7\Src\qtbase/qmake/library/qmakebuiltins.cpp:427:23: error: '_pclose' was not declared in this scope
               QT_PCLOSE(proc);
                             ^
      Makefile:204: recipe for target 'qmakebuiltins.o' failed
      

        Attachments

          Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            Activity

              People

              Assignee:
              buddenha Oswald Buddenhagen
              Reporter:
              poikelin Joni Poikelin
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes