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

Qt 6.2.2 Windows build fail

    XMLWordPrintable

    Details

    • Platform/s:
      Windows
    • Commits:
      0bea727cac (qt/qtbase/dev) 35c083fa1b (qt/qtbase/6.3) 4b9b5d0793 (qt/qtbase/6.2) 4b9b5d0793 (qt/tqtc-qtbase/6.2) 35c083fa1b (qt/tqtc-qtbase/6.3)

      Description

      When configuring Qt 6.2.2 with the following command:

      configure -debug-and-release -prefix "c:\Qt\Qt-6.2.2" -opensource -confirm-license

      And building with the following command:

      ninja qtbase/all qtsvg/all qttools/all qttranslations/all

      The build fails when trying to build qml_qmltyperegistrations.cpp which is indeed a file that does not exist in the Qt 6.2.2 sources:

      ...
      [3742/6030] Linking CXX shared library qtbase\bin\Qt6Svgd.dll
       Creating library qtbase\lib\Qt6Svgd.lib and object qtbase\lib\Qt6Svgd.exp
      [3746/6030] Linking CXX shared library qtbase\bin\Qt6ShaderToolsd.dll
       Creating library qtbase\lib\Qt6ShaderToolsd.lib and object qtbase\lib\Qt6ShaderToolsd.exp
      [3765/6030] Linking CXX shared module qtbase\plugins\imageformats\qsvgd.dll
       Creating library qtbase\plugins\imageformats\qsvgd.lib and object qtbase\plugins\imageformats\qsvgd.exp
      [3779/6030] Linking CXX shared module qtbase\plugins\iconengines\qsvgicond.dll
       Creating library qtbase\plugins\iconengines\qsvgicond.lib and object qtbase\plugins\iconengines\qsvgicond.exp
      [3881/6030] Building CXX object qtdeclarative\src\qml\CMakeFiles\Qml.dir\Release\qml_qmltyperegistrations.cpp.obj
      FAILED: qtdeclarative/src/qml/CMakeFiles/Qml.dir/Release/qml_qmltyperegistrations.cpp.obj
      C:\PROGRA~2\MICROS~3\2019\BUILDT~1\VC\Tools\MSVC\1428~1.293\bin\Hostx86\x64\cl.exe /nologo /TP -DBUILDING_QT__ -DENABLE_ASSEMBLER_WX_EXCLUSIVE=1 -DENABLE_DFG_JIT=0 -DENABLE_DFG_JIT_UTILITY_METHODS=1 -DENABLE_JIT_CONSTANT_BLINDING=0 -DENABLE_LLINT=0 -DJS_EXPORT_PRIVATE="" -DNOMINMAX -DQT_ASCII_CAST_WARNINGS -DQT_BUILDING_QT -DQT_BUILD_QML_LIB -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS -DQT_DEPRECATED_WARNINGS_SINCE=0x060000 -DQT_DISABLE_DEPRECATED_BEFORE=0x040800 -DQT_MOC_COMPAT -DQT_NETWORK_LIB -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_EXCEPTIONS -DQT_NO_FOREACH -DQT_NO_INTEGER_EVENT_COORDINATES -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_URL_CAST_FROM_STRING -DQT_USE_QSTRINGBUILDER -DQml_EXPORTS -DUNICODE -DWIN32 -DWIN64 -DWTFInvokeCrashHook=qmlWTFInvokeCrashHook -DWTFReportAssertionFailure=qmlWTFReportAssertionFailure -DWTFReportAssertionFailureWithMessage=qmlWTFReportAssertionFailureWithMessage -DWTFReportBacktrace=qmlWTFReportBacktrace -DWTF_EXPORT_PRIVATE="" -DWTF_USE_UDIS86=0 -D_CRT_SECURE_NO_WARNINGS -D_ENABLE_EXTENDED_ALIGNED_STORAGE -D_UNICODE -D_USE_MATH_DEFINES -D_WIN64 -D_WINDLL -DCMAKE_INTDIR=\"Release\" -Iqtdeclarative\src\qml\Qml_autogen\include_Release -Iqtbase\include -Iqtbase\include\QtQml -Iqtdeclarative\src\qml -Iqtdeclarative\src\qml\compiler -Iqtdeclarative\src\qml\jsruntime -Iqtdeclarative\src\qml\memory -Iqtdeclarative\src\qml\qmldirparser -Iqtdeclarative\src\qml\..\3rdparty\masm -Iqtdeclarative\src\qml\..\3rdparty\masm\assembler -Iqtdeclarative\src\qml\..\3rdparty\masm\disassembler -Iqtdeclarative\src\qml\..\3rdparty\masm\disassembler\udis86 -Iqtdeclarative\src\qml\..\3rdparty\masm\jit -Iqtdeclarative\src\qml\..\3rdparty\masm\runtime -Iqtdeclarative\src\qml\..\3rdparty\masm\stubs -Iqtdeclarative\src\qml\..\3rdparty\masm\stubs\runtime -Iqtdeclarative\src\qml\..\3rdparty\masm\stubs\wtf -Iqtdeclarative\src\qml\..\3rdparty\masm\wtf -Iqtdeclarative\src\qml\.generated -Iqtdeclarative\src\qml\debugger -Iqtbase\include\QtQml\6.2.2 -Iqtbase\include\QtQml\6.2.2\QtQml -Iqtbase\src\corelib -Iqtbase\include\QtCore\6.2.2 -Iqtbase\include\QtCore\6.2.2\QtCore -Iqtbase\include\QtCore -Iqtbase\mkspecs\win32-msvc -Iqtbase\include\QtNetwork -Iqtdeclarative\src\qml\jit -Iqtdeclarative\src\qml\animations /DWIN32 /D_WINDOWS /GR /DNDEBUG -O2 -MD /W3 /wd4530 /wd4577 -Zc:__cplusplus -permissive- -utf-8 -FS -Zc:rvalueCast -Zc:inline -Zc:strictStrings -Zc:throwingNew -Zc:referenceBinding -Zc:externConstexpr -Zc:wchar_t -guard:cf -std:c++17 /bigobj /YuC:/Qt/qt-everywhere-src-6.2.2/qtdeclarative/src/qml/CMakeFiles/Qml.dir/Release/cmake_pch.hxx /FpC:/Qt/qt-everywhere-src-6.2.2/qtdeclarative/src/qml/CMakeFiles/Qml.dir/Release/cmake_pch.cxx.pch /FIC:/Qt/qt-everywhere-src-6.2.2/qtdeclarative/src/qml/CMakeFiles/Qml.dir/Release/cmake_pch.hxx /showIncludes /Foqtdeclarative\src\qml\CMakeFiles\Qml.dir\Release\qml_qmltyperegistrations.cpp.obj /Fdqtdeclarative\src\qml\CMakeFiles\Qml.dir\Release\ /FS -c qtdeclarative\src\qml\qml_qmltyperegistrations.cpp
      c1xx: fatal error C1083: Cannot open source file: 'qtdeclarative\src\qml\qml_qmltyperegistrations.cpp': No such file or directory
      [3894/6030] Building CXX object qtdeclarative\src\qml\CMakeFiles\Qml.dir\Release\qml\v8\qqmlbuiltinfunctions.cpp.obj
      ninja: build stopped: subcommand failed.
      

       

      Using MSVC2019 and CMake 3.19.8

        Attachments

          Issue Links

          For Gerrit Dashboard: QTBUG-98843
          # Subject Branch Project Status CR V

            Activity

              People

              Assignee:
              jbornema Joerg Bornemann
              Reporter:
              divide Robin Lobel
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: