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

Configuration fails on MSVC 19.15

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Duplicate
    • Affects Version/s: 5.9.6
    • Fix Version/s: None
    • Component/s: Build System
    • Labels:
      None
    • Platform/s:
      Windows

      Description

      On Visual Studio 2017 15.8.1 (MSVC 19.15.26726), QT 5.9.6 (qt-everywhere-opensource-src-5.9.6) fails to bootstrap by the configuration script.

      Reproduction steps:

      1. qt-everywhere-opensource-src-5.9.6.zip
      2. configure

       

      Output:

       

      S:\qt-everywhere-opensource-src-5.9.6>configure
      + cd qtbase
      + S:\qt-everywhere-opensource-src-5.9.6\qtbase\configure.bat -top-level
      Bootstrapping qmake ...
      
      jom 1.1.2 - empower your cores
      
      cl -c -Fo./ -Fdqmake.pdb -W2 -nologo -O1 /MP /wd4577 -IS:\qt-everywhere-opensource-src-5.9.6\qtbase\qmake -IS:\qt-everywhere-opensource-src-5.9.6\qtbase\qmake\library -IS:\qt-everywhere-opensource-src-5.9.6\qtbase\qmake\generators -IS:\qt-everywhere-opensource-src-5.9.6\qtbase\qmake\generators\unix -IS:\qt-everywhere-opensource-src-5.9.6\qtbase\qmake\generators\win32 -IS:\qt-everywhere-opensource-src-5.9.6\qtbase\qmake\generators\mac -IS:\qt-everywhere-opensource-src-5.9.6\qtbase/include -IS:\qt-everywhere-opensource-src-5.9.6\qtbase/include\QtCore -IS:\qt-everywhere-opensource-src-5.9.6\qtbase/include\QtCore\5.9.6 -IS:\qt-everywhere-opensource-src-5.9.6\qtbase/include\QtCore\5.9.6\QtCore -I..\src\corelib\global -IS:\qt-everywhere-opensource-src-5.9.6\qtbase\mkspecs\win32-msvc -D_CRT_SECURE_NO_WARNINGS -D_SCL_SECURE_NO_WARNINGS -DQT_VERSION_STR=\"5.9.6\" -DQT_VERSION_MAJOR=5 -DQT_VERSION_MINOR=9 -DQT_VERSION_PATCH=6 -DQT_BUILD_QMAKE -DQT_BOOTSTRAPPED -DPROEVALUATOR_FULL -DQT_NO_FOREACH -DUNICODE -c -Yc -Fpqmake_pch.pch -TP S:\qt-everywhere-opensource-src-5.9.6\qtbase\qmake\qmake_pch.h
      qmake_pch.h
      s:\qt-everywhere-opensource-src-5.9.6\qtbase\include\qtcore\../../src/corelib/tools/qalgorithms.h(847): error C3615: constexpr function 'qCountLeadingZeroBits' cannot result in a constant expression
      s:\qt-everywhere-opensource-src-5.9.6\qtbase\include\qtcore\../../src/corelib/tools/qalgorithms.h(858): note: failure was caused by call of undefined function or one not declared 'constexpr'
      s:\qt-everywhere-opensource-src-5.9.6\qtbase\include\qtcore\../../src/corelib/tools/qalgorithms.h(858): note: see usage of 'qPopulationCount'
      jom: S:\qt-everywhere-opensource-src-5.9.6\qtbase\qmake\Makefile [qmake_pch.obj] Error 2
      

       

        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:
              archost Grant Kim
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes