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

[REG 6.6.1->6.7.0] static build fails on MSVC2019 x64, qtquick3d

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P1: Critical
    • 6.7.0 RC
    • 6.7.0 Beta1, 6.7.0 Beta2, 6.7.0 Beta3
    • Quick: 3D
    • Windows10 22H2 x64
    • Windows
    • e82be2fa7 (6.7)

    Description

      Have Qt 6.7.0 sources in C:\Users\qt\RTA\src-6.7.0, configure static build:

      cmake -DCMAKE_C_COMPILER=cl.exe -DCMAKE_CXX_COMPILER=cl.exe -GNinja -DCMAKE_BUILD_TYPE=Release -DQT_BUILD_EXAMPLES=OFF -DOPENSSL_ROOT_DIR=C:\openssl\include\.. -DINPUT_system_zlib=no -DPostgreSQL_ROOT=C:\Utils\postgresql\pgsql\lib\.. -DQT_BUILD_TESTS=OFF -DCMAKE_MESSAGE_LOG_LEVEL=STATUS -DBUILD_SHARED_LIBS=OFF C:\Users\qt\RTA\src-6.7.0 -DCMAKE_INSTALL_PREFIX:PATH=C:\Users\qt\RTA\src-6.7.0\qtbase -DBUILD_qtwebengine=FALSE 

      finishes fine. Build: cmake --build . --parallel, fails:

      Building CXX object qtquick3d\src\quick3d\CMakeFiles\Quick3D.dir\qquick3ditem2d.cpp.obj
      FAILED: qtquick3d/src/quick3d/CMakeFiles/Quick3D.dir/qquick3ditem2d.cpp.obj 
      C:\PROGRA~2\MICROS~2\2019\PROFES~1\VC\Tools\MSVC\1429~1.301\bin\Hostx64\x64\cl.exe  /nologo /TP -DNOMINMAX -DQT_ASCII_CAST_WARNINGS -DQT_BUILDING_QT -DQT_BUILD_QUICK3D_LIB -DQT_CONCURRENT_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_NETWORK_LIB -DQT_NO_AS_CONST -DQT_NO_AS_CONST=1 -DQT_NO_CAST_TO_ASCII -DQT_NO_CONTEXTLESS_CONNECT=1 -DQT_NO_DEBUG -DQT_NO_EXCEPTIONS -DQT_NO_FOREACH -DQT_NO_FOREACH=1 -DQT_NO_JAVA_STYLE_ITERATORS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_QEXCHANGE -DQT_OPENGL_LIB -DQT_QMLBUILTINS_LIB -DQT_QMLINTEGRATION_LIB -DQT_QMLMODELS_LIB -DQT_QML_LIB -DQT_QUICK3DRUNTIMERENDER_LIB -DQT_QUICK3DUTILS_LIB -DQT_QUICK_LIB -DQT_SHADERTOOLS_LIB -DQT_USE_QSTRINGBUILDER -DQT_WARN_DEPRECATED_UP_TO=0x070000 -DUNICODE -DWIN32 -DWIN64 -D_CRT_SECURE_NO_WARNINGS -D_ENABLE_EXTENDED_ALIGNED_STORAGE -D_UNICODE -D_USE_MATH_DEFINES -D_WIN64 -IC:\Users\qt\RTA\src-6.7.0\qtquick3d\src\quick3d\Quick3D_autogen\include -IC:\Users\qt\RTA\src-6.7.0\qtbase\include -IC:\Users\qt\RTA\src-6.7.0\qtbase\include\QtQuick3D -IC:\Users\qt\RTA\src-6.7.0\qtquick3d\src\quick3d -IC:\Users\qt\RTA\src-6.7.0\qtbase\include\QtQuick3D\6.7.0 -IC:\Users\qt\RTA\src-6.7.0\qtbase\include\QtQuick3D\6.7.0\QtQuick3D -IC:\Users\qt\RTA\src-6.7.0\qtdeclarative\src\qml -IC:\Users\qt\RTA\src-6.7.0\qtbase\include\QtQml\6.7.0 -IC:\Users\qt\RTA\src-6.7.0\qtbase\include\QtQml\6.7.0\QtQml -IC:\Users\qt\RTA\src-6.7.0\qtbase\src\corelib -IC:\Users\qt\RTA\src-6.7.0\qtbase\include\QtCore\6.7.0 -IC:\Users\qt\RTA\src-6.7.0\qtbase\include\QtCore\6.7.0\QtCore -IC:\Users\qt\RTA\src-6.7.0\qtbase\include\QtCore -IC:\Users\qt\RTA\src-6.7.0\qtbase\mkspecs\win32-msvc -IC:\Users\qt\RTA\src-6.7.0\qtbase\include\QtQmlBuiltins\6.7.0 -IC:\Users\qt\RTA\src-6.7.0\qtbase\include\QtQmlBuiltins\6.7.0\QtQmlBuiltins -IC:\Users\qt\RTA\src-6.7.0\qtbase\include\QtQmlBuiltins -IC:\Users\qt\RTA\src-6.7.0\qtbase\include\QtQml -IC:\Users\qt\RTA\src-6.7.0\qtbase\include\QtQmlIntegration -IC:\Users\qt\RTA\src-6.7.0\qtdeclarative\src\qmlintegration -IC:\Users\qt\RTA\src-6.7.0\qtbase\include\QtNetwork -IC:\Users\qt\RTA\src-6.7.0\qtbase\include\QtGui -IC:\Users\qt\RTA\src-6.7.0\qtbase\include\QtQuick -IC:\Users\qt\RTA\src-6.7.0\qtbase\include\QtQmlModels -IC:\Users\qt\RTA\src-6.7.0\qtbase\include\QtOpenGL -IC:\Users\qt\RTA\src-6.7.0\qtbase\include\QtQuick3DRuntimeRender -IC:\Users\qt\RTA\src-6.7.0\qtbase\include\QtQuick3DUtils -IC:\Users\qt\RTA\src-6.7.0\qtbase\include\QtShaderTools -IC:\Users\qt\RTA\src-6.7.0\qtbase\include\QtConcurrent -IC:\Users\qt\RTA\src-6.7.0\qtbase\src\gui -IC:\Users\qt\RTA\src-6.7.0\qtbase\include\QtGui\6.7.0 -IC:\Users\qt\RTA\src-6.7.0\qtbase\include\QtGui\6.7.0\QtGui -IC:\Users\qt\RTA\src-6.7.0\qtquick3d\src\runtimerender -IC:\Users\qt\RTA\src-6.7.0\qtbase\include\QtQuick3DRuntimeRender\6.7.0 -IC:\Users\qt\RTA\src-6.7.0\qtbase\include\QtQuick3DRuntimeRender\6.7.0\QtQuick3DRuntimeRender -IC:\Users\qt\RTA\src-6.7.0\qtquick3d\src\utils -IC:\Users\qt\RTA\src-6.7.0\qtbase\include\QtQuick3DUtils\6.7.0 -IC:\Users\qt\RTA\src-6.7.0\qtbase\include\QtQuick3DUtils\6.7.0\QtQuick3DUtils -IC:\Users\qt\RTA\src-6.7.0\qtdeclarative\src\quick -IC:\Users\qt\RTA\src-6.7.0\qtbase\include\QtQuick\6.7.0 -IC:\Users\qt\RTA\src-6.7.0\qtbase\include\QtQuick\6.7.0\QtQuick -IC:\Users\qt\RTA\src-6.7.0\qtdeclarative\src\qmlmodels -IC:\Users\qt\RTA\src-6.7.0\qtbase\include\QtQmlModels\6.7.0 -IC:\Users\qt\RTA\src-6.7.0\qtbase\include\QtQmlModels\6.7.0\QtQmlModels -external:IC:\VulkanSDK\1.2.182.0\Include -external:W0 /DWIN32 /D_WINDOWS /DNDEBUG       -O2 -Ob3 -O2 -Ob3 -std:c++17 -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 /YuC:/Users/qt/RTA/src-6.7.0/qtquick3d/src/quick3d/CMakeFiles/Quick3D.dir/cmake_pch.hxx /FpC:/Users/qt/RTA/src-6.7.0/qtquick3d/src/quick3d/CMakeFiles/Quick3D.dir/./cmake_pch.cxx.pch /FIC:/Users/qt/RTA/src-6.7.0/qtquick3d/src/quick3d/CMakeFiles/Quick3D.dir/cmake_pch.hxx /showIncludes /Foqtquick3d\src\quick3d\CMakeFiles\Quick3D.dir\qquick3ditem2d.cpp.obj /Fdqtbase\lib\Qt6Quick3D.pdb /FS -c C:\Users\qt\RTA\src-6.7.0\qtquick3d\src\quick3d\qquick3ditem2d.cpp
      C:\Users\qt\RTA\src-6.7.0\qtbase\include\QtQuick\6.7.0\QtQuick\private\../../../../../../qtdeclarative/src/quick/items/qquickpaletteproviderprivatebase_p.h(348): error C2665: 'QObject::connect': none of the 3 overloads could convert all the argument types
      C:\Users\qt\RTA\src-6.7.0\qtbase\include\QtCore\../../src/corelib/kernel/qobject.h(380): note: could be 'QMetaObject::Connection QObject::connect(const QObject *,const char *,const char *,Qt::ConnectionType) const'
      C:\Users\qt\RTA\src-6.7.0\qtbase\include\QtQuick\6.7.0\QtQuick\private\../../../../../../qtdeclarative/src/quick/items/qquickpaletteproviderprivatebase_p.h(348): note: while trying to match the argument list '(I *, void (__cdecl QQuickItem::* )(QQuickItem *), QQuickPaletteProviderPrivateBase<QQuickItem,QQuickItemPrivate>::connectItem::<lambda_14219ba3e0c85eb4e67302bd70baf20f>)'
              with
              [
                  I=QQuickItem
              ]
      C:\Users\qt\RTA\src-6.7.0\qtbase\include\QtQuick\6.7.0\QtQuick\private\../../../../../../qtdeclarative/src/quick/items/qquickpaletteproviderprivatebase_p.h(343): note: while compiling class template member function 'void QQuickPaletteProviderPrivateBase<QQuickItem,QQuickItemPrivate>::connectItem(void)'
      C:\Users\qt\RTA\src-6.7.0\qtbase\include\QtQuick\6.7.0\QtQuick\private\../../../../../../qtdeclarative/src/quick/items/qquickpaletteproviderprivatebase_p.h(211): note: see reference to function template instantiation 'void QQuickPaletteProviderPrivateBase<QQuickItem,QQuickItemPrivate>::connectItem(void)' being compiled
      C:\Users\qt\RTA\src-6.7.0\qtbase\include\QtQuick\6.7.0\QtQuick\private\../../../../../../qtdeclarative/src/quick/items/qquickpaletteproviderprivatebase_p.h(294): note: while compiling class template member function 'void QQuickPaletteProviderPrivateBase<QQuickItem,QQuickItemPrivate>::inheritPalette(const QPalette &)'
      C:\Users\qt\RTA\src-6.7.0\qtbase\include\QtQuick\6.7.0\QtQuick\private\../../../../../../qtdeclarative/src/quick/items/qquickpaletteproviderprivatebase_p.h(334): note: see reference to function template instantiation 'void QQuickPaletteProviderPrivateBase<QQuickItem,QQuickItemPrivate>::inheritPalette(const QPalette &)' being compiled
      C:\Users\qt\RTA\src-6.7.0\qtbase\include\QtQuick\6.7.0\QtQuick\private\../../../../../../qtdeclarative/src/quick/items/qquickpaletteproviderprivatebase_p.h(149): note: while compiling class template member function 'QQuickPalette *QQuickPaletteProviderPrivateBase<QQuickItem,QQuickItemPrivate>::palette(void) const'
      C:\Users\qt\RTA\src-6.7.0\qtbase\include\QtQuick\6.7.0\QtQuick\private\../../../../../../qtdeclarative/src/quick/items/qquickitem_p.h(224): note: see reference to class template instantiation 'QQuickPaletteProviderPrivateBase<QQuickItem,QQuickItemPrivate>' being compiled
      C:\Users\qt\RTA\src-6.7.0\qtbase\include\QtQuick\6.7.0\QtQuick\private\../../../../../../qtdeclarative/src/quick/items/qquickpaletteproviderprivatebase_p.h(349): error C2665: 'QObject::connect': none of the 3 overloads could convert all the argument types
      C:\Users\qt\RTA\src-6.7.0\qtbase\include\QtCore\../../src/corelib/kernel/qobject.h(380): note: could be 'QMetaObject::Connection QObject::connect(const QObject *,const char *,const char *,Qt::ConnectionType) const'
      C:\Users\qt\RTA\src-6.7.0\qtbase\include\QtQuick\6.7.0\QtQuick\private\../../../../../../qtdeclarative/src/quick/items/qquickpaletteproviderprivatebase_p.h(349): note: while trying to match the argument list '(I *, void (__cdecl QQuickItem::* )(QQuickWindow *), QQuickPaletteProviderPrivateBase<QQuickItem,QQuickItemPrivate>::connectItem::<lambda_80a0d311d86e9a527631f9722bbbd607>)'
              with
              [
                  I=QQuickItem
              ]
      C:\Users\qt\RTA\src-6.7.0\qtbase\include\QtQuick\6.7.0\QtQuick\private\../../../../../../qtdeclarative/src/quick/items/qquickpaletteproviderprivatebase_p.h(350): error C2665: 'QObject::connect': none of the 3 overloads could convert all the argument types
      C:\Users\qt\RTA\src-6.7.0\qtbase\include\QtCore\../../src/corelib/kernel/qobject.h(380): note: could be 'QMetaObject::Connection QObject::connect(const QObject *,const char *,const char *,Qt::ConnectionType) const'
      C:\Users\qt\RTA\src-6.7.0\qtbase\include\QtQuick\6.7.0\QtQuick\private\../../../../../../qtdeclarative/src/quick/items/qquickpaletteproviderprivatebase_p.h(350): note: while trying to match the argument list '(I *, void (__cdecl QQuickItem::* )(void), QQuickPaletteProviderPrivateBase<QQuickItem,QQuickItemPrivate>::connectItem::<lambda_04d8d3f6525ae7602630b909d5094962>)'
              with
              [
                  I=QQuickItem
              ]
      [6859/11933] Building CXX object qtquick3d\src\quick3d\CMakeFiles\Quick3D.dir\qquick3dnode.cpp.obj
      [6860/11933] Building CXX object qtquick3d\src\quick3d\CMakeFiles\Quick3D.dir\qquick3dorthographiccamera.cpp.obj
      [6861/11933] Building CXX object qtquick3d\src\quick3d\CMakeFiles\Quick3D.dir\qquick3dperspectivecamera.cpp.obj
      [6862/11933] Building CXX object qtquick3d\src\quick3d\CMakeFiles\Quick3D.dir\qquick3deffect.cpp.obj
      [6863/11933] Building CXX object qtquick3d\src\quick3d\CMakeFiles\Quick3D.dir\qquick3drenderstats.cpp.obj
      [6864/11933] Building CXX object qtquick3d\src\quick3d\CMakeFiles\Quick3D.dir\qquick3dcustommaterial.cpp.obj
      [6865/11933] Building CXX object qtquick3d\src\quick3d\CMakeFiles\Quick3D.dir\qquick3dprincipledmaterial.cpp.obj
      [6866/11933] Building CXX object qtquick3d\src\quick3d\CMakeFiles\Quick3D.dir\qquick3dpickresult.cpp.obj
      [6867/11933] Building CXX object qtquick3d\src\quick3d\CMakeFiles\Quick3D.dir\qquick3dpointlight.cpp.obj
      [6868/11933] Building CXX object qtquick3d\src\quick3d\CMakeFiles\Quick3D.dir\qquick3dobject.cpp.obj
      FAILED: qtquick3d/src/quick3d/CMakeFiles/Quick3D.dir/qquick3dobject.cpp.obj 
      C:\PROGRA~2\MICROS~2\2019\PROFES~1\VC\Tools\MSVC\1429~1.301\bin\Hostx64\x64\cl.exe  /nologo /TP -DNOMINMAX -DQT_ASCII_CAST_WARNINGS -DQT_BUILDING_QT -DQT_BUILD_QUICK3D_LIB -DQT_CONCURRENT_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_NETWORK_LIB -DQT_NO_AS_CONST -DQT_NO_AS_CONST=1 -DQT_NO_CAST_TO_ASCII -DQT_NO_CONTEXTLESS_CONNECT=1 -DQT_NO_DEBUG -DQT_NO_EXCEPTIONS -DQT_NO_FOREACH -DQT_NO_FOREACH=1 -DQT_NO_JAVA_STYLE_ITERATORS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_QEXCHANGE -DQT_OPENGL_LIB -DQT_QMLBUILTINS_LIB -DQT_QMLINTEGRATION_LIB -DQT_QMLMODELS_LIB -DQT_QML_LIB -DQT_QUICK3DRUNTIMERENDER_LIB -DQT_QUICK3DUTILS_LIB -DQT_QUICK_LIB -DQT_SHADERTOOLS_LIB -DQT_USE_QSTRINGBUILDER -DQT_WARN_DEPRECATED_UP_TO=0x070000 -DUNICODE -DWIN32 -DWIN64 -D_CRT_SECURE_NO_WARNINGS -D_ENABLE_EXTENDED_ALIGNED_STORAGE -D_UNICODE -D_USE_MATH_DEFINES -D_WIN64 -IC:\Users\qt\RTA\src-6.7.0\qtquick3d\src\quick3d\Quick3D_autogen\include -IC:\Users\qt\RTA\src-6.7.0\qtbase\include -IC:\Users\qt\RTA\src-6.7.0\qtbase\include\QtQuick3D -IC:\Users\qt\RTA\src-6.7.0\qtquick3d\src\quick3d -IC:\Users\qt\RTA\src-6.7.0\qtbase\include\QtQuick3D\6.7.0 -IC:\Users\qt\RTA\src-6.7.0\qtbase\include\QtQuick3D\6.7.0\QtQuick3D -IC:\Users\qt\RTA\src-6.7.0\qtdeclarative\src\qml -IC:\Users\qt\RTA\src-6.7.0\qtbase\include\QtQml\6.7.0 -IC:\Users\qt\RTA\src-6.7.0\qtbase\include\QtQml\6.7.0\QtQml -IC:\Users\qt\RTA\src-6.7.0\qtbase\src\corelib -IC:\Users\qt\RTA\src-6.7.0\qtbase\include\QtCore\6.7.0 -IC:\Users\qt\RTA\src-6.7.0\qtbase\include\QtCore\6.7.0\QtCore -IC:\Users\qt\RTA\src-6.7.0\qtbase\include\QtCore -IC:\Users\qt\RTA\src-6.7.0\qtbase\mkspecs\win32-msvc -IC:\Users\qt\RTA\src-6.7.0\qtbase\include\QtQmlBuiltins\6.7.0 -IC:\Users\qt\RTA\src-6.7.0\qtbase\include\QtQmlBuiltins\6.7.0\QtQmlBuiltins -IC:\Users\qt\RTA\src-6.7.0\qtbase\include\QtQmlBuiltins -IC:\Users\qt\RTA\src-6.7.0\qtbase\include\QtQml -IC:\Users\qt\RTA\src-6.7.0\qtbase\include\QtQmlIntegration -IC:\Users\qt\RTA\src-6.7.0\qtdeclarative\src\qmlintegration -IC:\Users\qt\RTA\src-6.7.0\qtbase\include\QtNetwork -IC:\Users\qt\RTA\src-6.7.0\qtbase\include\QtGui -IC:\Users\qt\RTA\src-6.7.0\qtbase\include\QtQuick -IC:\Users\qt\RTA\src-6.7.0\qtbase\include\QtQmlModels -IC:\Users\qt\RTA\src-6.7.0\qtbase\include\QtOpenGL -IC:\Users\qt\RTA\src-6.7.0\qtbase\include\QtQuick3DRuntimeRender -IC:\Users\qt\RTA\src-6.7.0\qtbase\include\QtQuick3DUtils -IC:\Users\qt\RTA\src-6.7.0\qtbase\include\QtShaderTools -IC:\Users\qt\RTA\src-6.7.0\qtbase\include\QtConcurrent -IC:\Users\qt\RTA\src-6.7.0\qtbase\src\gui -IC:\Users\qt\RTA\src-6.7.0\qtbase\include\QtGui\6.7.0 -IC:\Users\qt\RTA\src-6.7.0\qtbase\include\QtGui\6.7.0\QtGui -IC:\Users\qt\RTA\src-6.7.0\qtquick3d\src\runtimerender -IC:\Users\qt\RTA\src-6.7.0\qtbase\include\QtQuick3DRuntimeRender\6.7.0 -IC:\Users\qt\RTA\src-6.7.0\qtbase\include\QtQuick3DRuntimeRender\6.7.0\QtQuick3DRuntimeRender -IC:\Users\qt\RTA\src-6.7.0\qtquick3d\src\utils -IC:\Users\qt\RTA\src-6.7.0\qtbase\include\QtQuick3DUtils\6.7.0 -IC:\Users\qt\RTA\src-6.7.0\qtbase\include\QtQuick3DUtils\6.7.0\QtQuick3DUtils -IC:\Users\qt\RTA\src-6.7.0\qtdeclarative\src\quick -IC:\Users\qt\RTA\src-6.7.0\qtbase\include\QtQuick\6.7.0 -IC:\Users\qt\RTA\src-6.7.0\qtbase\include\QtQuick\6.7.0\QtQuick -IC:\Users\qt\RTA\src-6.7.0\qtdeclarative\src\qmlmodels -IC:\Users\qt\RTA\src-6.7.0\qtbase\include\QtQmlModels\6.7.0 -IC:\Users\qt\RTA\src-6.7.0\qtbase\include\QtQmlModels\6.7.0\QtQmlModels -external:IC:\VulkanSDK\1.2.182.0\Include -external:W0 /DWIN32 /D_WINDOWS /DNDEBUG       -O2 -Ob3 -O2 -Ob3 -std:c++17 -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 /YuC:/Users/qt/RTA/src-6.7.0/qtquick3d/src/quick3d/CMakeFiles/Quick3D.dir/cmake_pch.hxx /FpC:/Users/qt/RTA/src-6.7.0/qtquick3d/src/quick3d/CMakeFiles/Quick3D.dir/./cmake_pch.cxx.pch /FIC:/Users/qt/RTA/src-6.7.0/qtquick3d/src/quick3d/CMakeFiles/Quick3D.dir/cmake_pch.hxx /showIncludes /Foqtquick3d\src\quick3d\CMakeFiles\Quick3D.dir\qquick3dobject.cpp.obj /Fdqtbase\lib\Qt6Quick3D.pdb /FS -c C:\Users\qt\RTA\src-6.7.0\qtquick3d\src\quick3d\qquick3dobject.cpp 

      Attachments

        Issue Links

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

          Activity

            People

              esabraha Eskil Abrahamsen Blomfeldt
              joaijala Johanna Äijälä
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes