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

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P1: Critical
    • 6.7.0 Beta1, 6.7.0 RC
    • 6.7.0 FF, 6.7.0 Beta2
    • Quick: Timeline
    • Windows10-22H2 x64 msvc2019
    • 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:

      [5030/11636] Building CXX object qtquicktimeline\src\timeline\CMakeFiles\QuickTimeline.dir\qquickkeyframe.cpp.obj
       FAILED: qtquicktimeline/src/timeline/CMakeFiles/QuickTimeline.dir/qquickkeyframe.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_QUICKTIMELINE_LIB -DQT_BUILD_QUICK_TIMELINE_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_QMLINTEGRATION_LIB -DQT_QMLMODELS_LIB -DQT_QML_LIB -DQT_QUICK_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\qtquicktimeline\src\timeline\QuickTimeline_autogen\include -IC:\Users\qt\RTA\src-6.7.0\qtbase\include -IC:\Users\qt\RTA\src-6.7.0\qtbase\include\QtQuickTimeline -IC:\Users\qt\RTA\src-6.7.0\qtquicktimeline\src\timeline -IC:\Users\qt\RTA\src-6.7.0\qtbase\include\QtQuickTimeline\6.7.0 -IC:\Users\qt\RTA\src-6.7.0\qtbase\include\QtQuickTimeline\6.7.0\QtQuickTimeline -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\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\QtQuick -IC:\Users\qt\RTA\src-6.7.0\qtbase\include\QtGui -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\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\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\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 -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:/Users/qt/RTA/src-6.7.0/qtquicktimeline/src/timeline/CMakeFiles/QuickTimeline.dir/cmake_pch.hxx /FpC:/Users/qt/RTA/src-6.7.0/qtquicktimeline/src/timeline/CMakeFiles/QuickTimeline.dir/./cmake_pch.cxx.pch /FIC:/Users/qt/RTA/src-6.7.0/qtquicktimeline/src/timeline/CMakeFiles/QuickTimeline.dir/cmake_pch.hxx /showIncludes /Foqtquicktimeline\src\timeline\CMakeFiles\QuickTimeline.dir\qquickkeyframe.cpp.obj /Fdqtbase\lib\Qt6QuickTimeline.pdb /FS -c C:\Users\qt\RTA\src-6.7.0\qtquicktimeline\src\timeline\qquickkeyframe.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(369): 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_e46433697692bdc2b905e30b9e68c0a5>)'
              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(369): 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_2c3517922c185aa18cb6a769c91a076b>)'
              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(369): 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_bcefeb99f65b5cf086d85188f6ce33cc>)'
              with
              [
                  I=QQuickItem
              ]
      [5031/11636] Building CXX object qtdeclarative\src\quickcontrols\CMakeFiles\QuickControls2.dir\qquickattachedpropertypropagator.cpp.obj
      [5032/11636] Building CXX object qtquicktimeline\src\timeline\CMakeFiles\QuickTimeline.dir\qquicktimeline.cpp.obj
       FAILED: qtquicktimeline/src/timeline/CMakeFiles/QuickTimeline.dir/qquicktimeline.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_QUICKTIMELINE_LIB -DQT_BUILD_QUICK_TIMELINE_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_QMLINTEGRATION_LIB -DQT_QMLMODELS_LIB -DQT_QML_LIB -DQT_QUICK_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\qtquicktimeline\src\timeline\QuickTimeline_autogen\include -IC:\Users\qt\RTA\src-6.7.0\qtbase\include -IC:\Users\qt\RTA\src-6.7.0\qtbase\include\QtQuickTimeline -IC:\Users\qt\RTA\src-6.7.0\qtquicktimeline\src\timeline -IC:\Users\qt\RTA\src-6.7.0\qtbase\include\QtQuickTimeline\6.7.0 -IC:\Users\qt\RTA\src-6.7.0\qtbase\include\QtQuickTimeline\6.7.0\QtQuickTimeline -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\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\QtQuick -IC:\Users\qt\RTA\src-6.7.0\qtbase\include\QtGui -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\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\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\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 -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:/Users/qt/RTA/src-6.7.0/qtquicktimeline/src/timeline/CMakeFiles/QuickTimeline.dir/cmake_pch.hxx /FpC:/Users/qt/RTA/src-6.7.0/qtquicktimeline/src/timeline/CMakeFiles/QuickTimeline.dir/./cmake_pch.cxx.pch /FIC:/Users/qt/RTA/src-6.7.0/qtquicktimeline/src/timeline/CMakeFiles/QuickTimeline.dir/cmake_pch.hxx /showIncludes /Foqtquicktimeline\src\timeline\CMakeFiles\QuickTimeline.dir\qquicktimeline.cpp.obj /Fdqtbase\lib\Qt6QuickTimeline.pdb /FS -c C:\Users\qt\RTA\src-6.7.0\qtquicktimeline\src\timeline\qquicktimeline.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(369): 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_12deb5009024c511d095d3ed6b054556>)'
              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
       

      Configure summary and tail of the build log attached. Full log added if requested.

      Attachments

        1. 670_beta2_msvc_static.txt
          132 kB
          Johanna Äijälä
        2. 670_static_msvc_build_log.7z
          12 kB
          Johanna Äijälä
        3. 670_static_msvc_config_summary.txt
          17 kB
          Johanna Äijälä

        Issue Links

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

          Activity

            People

              thohartm Thomas Hartmann
              joaijala Johanna Äijälä
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes