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

Build fail on Windows (reg 6.5.3 -> 6.6.0)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2: Important
    • 6.5.4, 6.6.1, 6.7.0 FF
    • 6.6.0
    • Build System
    • None
    • Windows 11 x64, VS 2019
    • Windows
    • d440c037f (dev), fa1b81c42 (6.6), fd461d9df (tqtc/lts-6.5)

    Description

      Building fails with following error message:

       

      configure -debug-and-release -prefix "c:\Qt\Qt-6.6.0" -opensource -confirm-license
      ...
      ninja qtbase/all qtsvg/all qttools/all qttranslations/all
      [3728/5845] Building CXX object qtactiveqt\src\activeqt\container\CMakeFiles\AxContainer.dir\Release\qaxscriptwrapper.cpp.obj
      FAILED: qtactiveqt/src/activeqt/container/CMakeFiles/AxContainer.dir/Release/qaxscriptwrapper.cpp.obj
      C:\PROGRA~2\MICROS~2\2019\COMMUN~1\VC\Tools\MSVC\1429~1.301\bin\Hostx86\x64\cl.exe  /nologo /TP -DNOMINMAX -DQT_ASCII_CAST_WARNINGS -DQT_AXBASE_LIB -DQT_BUILDING_QT -DQT_BUILD_AXCONTAINER_LIB -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_UP_TO=0x040800 -DQT_EXPLICIT_QFILE_CONSTRUCTION_FROM_PATH -DQT_GUI_LIB -DQT_MOC_COMPAT -DQT_NO_AS_CONST -DQT_NO_AS_CONST=1 -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_EXCEPTIONS -DQT_NO_JAVA_STYLE_ITERATORS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_QEXCHANGE -DQT_USE_QSTRINGBUILDER -DQT_WARN_DEPRECATED_UP_TO=0x070000 -DQT_WIDGETS_LIB -DUNICODE -DWIN32 -DWIN64 -D_CRT_SECURE_NO_WARNINGS -D_ENABLE_EXTENDED_ALIGNED_STORAGE -D_UNICODE -D_USE_MATH_DEFINES -D_WIN64 -DCMAKE_INTDIR=\"Release\" -IC:\Qt\qt-everywhere-src-6.6.0\qtactiveqt\src\activeqt\container\AxContainer_autogen\include_Release -IC:\Qt\qt-everywhere-src-6.6.0\qtbase\include -IC:\Qt\qt-everywhere-src-6.6.0\qtbase\include\QtAxContainer -IC:\Qt\qt-everywhere-src-6.6.0\qtactiveqt\src\activeqt\container -IC:\Qt\qt-everywhere-src-6.6.0\qtbase\include\QtAxContainer\6.6.0 -IC:\Qt\qt-everywhere-src-6.6.0\qtbase\include\QtAxContainer\6.6.0\QtAxContainer -IC:\Qt\qt-everywhere-src-6.6.0\qtbase\include\QtCore -IC:\Qt\qt-everywhere-src-6.6.0\qtbase\mkspecs\win32-msvc -IC:\Qt\qt-everywhere-src-6.6.0\qtbase\include\QtGui -IC:\Qt\qt-everywhere-src-6.6.0\qtbase\include\QtWidgets -IC:\Qt\qt-everywhere-src-6.6.0\qtbase\include\QtAxBase -IC:\Qt\qt-everywhere-src-6.6.0\qtactiveqt\src\activeqt\axbase -IC:\Qt\qt-everywhere-src-6.6.0\qtbase\include\QtAxBase\6.6.0 -IC:\Qt\qt-everywhere-src-6.6.0\qtbase\include\QtAxBase\6.6.0\QtAxBase -IC:\Qt\qt-everywhere-src-6.6.0\qtbase\src\corelib -IC:\Qt\qt-everywhere-src-6.6.0\qtbase\include\QtCore\6.6.0 -IC:\Qt\qt-everywhere-src-6.6.0\qtbase\include\QtCore\6.6.0\QtCore -IC:\Qt\qt-everywhere-src-6.6.0\qtbase\src\gui -IC:\Qt\qt-everywhere-src-6.6.0\qtbase\include\QtGui\6.6.0 -IC:\Qt\qt-everywhere-src-6.6.0\qtbase\include\QtGui\6.6.0\QtGui -IC:\Qt\qt-everywhere-src-6.6.0\qtbase\src\widgets -IC:\Qt\qt-everywhere-src-6.6.0\qtbase\include\QtWidgets\6.6.0 -IC:\Qt\qt-everywhere-src-6.6.0\qtbase\include\QtWidgets\6.6.0\QtWidgets /DWIN32 /D_WINDOWS /DNDEBUG -O2 -Ob3 -MD /W3 /EHs-c- /wd4530 /wd4577 -Zc:__cplusplus -permissive- -utf-8 -FS -Zc:rvalueCast -Zc:inline -Zc:strictStrings -Zc:throwingNew -Zc:referenceBinding -Zc:ternary -Zc:externConstexpr -Zc:wchar_t -bigobj -guard:cf -Gw -std:c++17 /YuC:/Qt/qt-everywhere-src-6.6.0/qtactiveqt/src/activeqt/container/CMakeFiles/AxContainer.dir/Release/cmake_pch.hxx /FpC:/Qt/qt-everywhere-src-6.6.0/qtactiveqt/src/activeqt/container/CMakeFiles/AxContainer.dir/Release/cmake_pch.cxx.pch /FIC:/Qt/qt-everywhere-src-6.6.0/qtactiveqt/src/activeqt/container/CMakeFiles/AxContainer.dir/Release/cmake_pch.hxx /showIncludes /Foqtactiveqt\src\activeqt\container\CMakeFiles\AxContainer.dir\Release\qaxscriptwrapper.cpp.obj /Fdqtbase\lib\Qt6AxContainer.pdb /FS -c C:\Qt\qt-everywhere-src-6.6.0\qtactiveqt\src\activeqt\container\qaxscriptwrapper.cpp
      C:\Qt\qt-everywhere-src-6.6.0\qtactiveqt\src\activeqt\container\qaxscriptwrapper.cpp(6): fatal error C1083: Cannot open include file: 'QtAxServer/qaxfactory.h': No such file or directory
      [3749/5845] Building CXX object qtactiveqt\src\activeqt\container\CMakeFiles\AxContainer.dir\Debug\cmake_pch.cxx.obj
      ninja: build stopped: subcommand failed.
      

      Previous versions of Qt (6.5.3, 6.2.2, ...) have no problems building.
      Also 6.6.0 builds fine on macOS.

       

      Attachments

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

        Activity

          People

            semlanik Alexey Edelev
            divide Robin Lobel
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes