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

6.7.0 static build fails on MSVC2019, timeline

    XMLWordPrintable

Details

    • Windows
    • 7469b8387 (dev)
    • QDS Berlin - 2023 Week 49/50

    Description

      Have Qt sources and MSVC2019 x64, configure 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 ok, compile: cmake --build . --parallel, fails:

      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_QMLBUILTINS_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\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\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 -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/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(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_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(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_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(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_bcefeb99f65b5cf086d85188f6ce33cc>)'
              with
              [
                  I=QQuickItem
              ]
      [5112/11857] Building CXX object qtquicktimeline\src\timeline\CMakeFiles\QuickTimeline.dir\quicktimeline_qmltyperegistrations.cpp.obj
      [5113/11857] Building CXX object qtmultimedia\src\resonance-audio\CMakeFiles\BundledResonanceAudio.dir\__\3rdparty\resonance-audio\resonance_audio\dsp\reverb_onset_compensator.cc.obj
      [5114/11857] Building CXX object qtdeclarative\src\labs\platform\CMakeFiles\qtlabsplatformplugin.dir\cmake_pch.cxx.obj
      [5115/11857] Building CXX object qtdeclarative\src\qmldom\CMakeFiles\QmlDomPrivate.dir\qqmldomitem.cpp.obj
      ninja: build stopped: subcommand failed. 

      Attachments

        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:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes