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

qtquickcontrols2 dependency update failed on 'dev'

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P0: Blocker
    • Resolution: Done
    • Affects Version/s: 6.0.0 RC
    • Fix Version/s: 6.0.0 RC
    • Component/s: Quick: Controls 2
    • Labels:
      None
    • Commits:
      b207f90c3074ef27b10c17cc719d83076bb3d78c (qt/qtquickcontrols2/dev)

      Description

      agent:2020/11/10 00:13:18 build.go:379: src/quicktemplates2/qquickactiongroup.cpp: In member function ‘QQmlListProperty<QQuickAction> QQuickActionGroup::actions()’:
      agent:2020/11/10 00:13:18 build.go:379: src/quicktemplates2/qquickactiongroup.cpp:286:35: error: invalid conversion from ‘int (*)(QQmlListProperty<QQuickAction>*)’ to ‘QQmlListProperty<QQuickAction>::CountFunction’ {aka ‘long long int (*)(QQmlListProperty<QQuickAction>*)’} [-fpermissive]
      agent:2020/11/10 00:13:18 build.go:379:   286 |         QQuickActionGroupPrivate::actions_count,
      agent:2020/11/10 00:13:18 build.go:379:       |         ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
      agent:2020/11/10 00:13:18 build.go:379:       |                                   |
      agent:2020/11/10 00:13:18 build.go:379:       |                                   int (*)(QQmlListProperty<QQuickAction>*)
      agent:2020/11/10 00:13:18 build.go:379: In file included from /home/qt/work/install/include/QtQml/qqmlprivate.h:59,
      agent:2020/11/10 00:13:18 build.go:379:                  from /home/qt/work/install/include/QtQml/6.0.0/QtQml/private/qqmldata_p.h:60,
      agent:2020/11/10 00:13:18 build.go:379:                  from /home/qt/work/install/include/QtQml/6.0.0/QtQml/private/qqmlnotifier_p.h:54,
      agent:2020/11/10 00:13:18 build.go:379:                  from /home/qt/work/install/include/QtQml/6.0.0/QtQml/private/qqmlpropertycache_p.h:57,
      agent:2020/11/10 00:13:18 build.go:379:                  from /home/qt/work/install/include/QtQml/6.0.0/QtQml/private/qqmlmetaobject_p.h:57,
      agent:2020/11/10 00:13:18 build.go:379:                  from /home/qt/work/install/include/QtQml/6.0.0/QtQml/private/qqmlglobal_p.h:56,
      agent:2020/11/10 00:13:18 build.go:379:                  from include/QtQuickTemplates2/6.0.0/QtQuickTemplates2/private/../../../../../src/quicktemplates2/qtquicktemplates2global_p.h:52,
      agent:2020/11/10 00:13:18 build.go:379:                  from include/QtQuickTemplates2/6.0.0/QtQuickTemplates2/private/qtquicktemplates2global_p.h:1,
      agent:2020/11/10 00:13:18 build.go:379:                  from src/quicktemplates2/qquickactiongroup_p.h:52,
      agent:2020/11/10 00:13:18 build.go:379:                  from src/quicktemplates2/qquickactiongroup.cpp:37:
      agent:2020/11/10 00:13:18 build.go:379: /home/qt/work/install/include/QtQml/qqmllist.h:76:75: note:   initializing argument 4 of ‘QQmlListProperty<T>::QQmlListProperty(QObject*, void*, QQmlListProperty<T>::AppendFunction, QQmlListProperty<T>::CountFunction, QQmlListProperty<T>::AtFunction, QQmlListProperty<T>::ClearFunction) [with T = QQuickAction; QQmlListProperty<T>::AppendFunction = void (*)(QQmlListProperty<QQuickAction>*, QQuickAction*); QQmlListProperty<T>::CountFunction = long long int (*)(QQmlListProperty<QQuickAction>*); qsizetype = long long int; QQmlListProperty<T>::AtFunction = QQuickAction* (*)(QQmlListProperty<QQuickAction>*, long long int); QQmlListProperty<T>::ClearFunction = void (*)(QQmlListProperty<QQuickAction>*)]’
      agent:2020/11/10 00:13:18 build.go:379:    76 |     QQmlListProperty(QObject *o, void *d, AppendFunction a, CountFunction c, AtFunction t,
      agent:2020/11/10 00:13:18 build.go:379:       |                                                             ~~~~~~~~~~~~~~^
      agent:2020/11/10 00:13:18 build.go:379: src/quicktemplates2/qquickactiongroup.cpp:287:35: error: invalid conversion from ‘QQuickAction* (*)(QQmlListProperty<QQuickAction>*, int)’ to ‘QQmlListProperty<QQuickAction>::AtFunction’ {aka ‘QQuickAction* (*)(QQmlListProperty<QQuickAction>*, long long int)’} [-fpermissive]
      agent:2020/11/10 00:13:18 build.go:379:   287 |         QQuickActionGroupPrivate::actions_at,
      agent:2020/11/10 00:13:18 build.go:379:       |         ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
      agent:2020/11/10 00:13:18 build.go:379:       |                                   |
      agent:2020/11/10 00:13:18 build.go:379:       |                                   QQuickAction* (*)(QQmlListProperty<QQuickAction>*, int)
      agent:2020/11/10 00:13:18 build.go:379: In file included from /home/qt/work/install/include/QtQml/qqmlprivate.h:59,
      agent:2020/11/10 00:13:18 build.go:379:                  from /home/qt/work/install/include/QtQml/6.0.0/QtQml/private/qqmldata_p.h:60,
      agent:2020/11/10 00:13:18 build.go:379:                  from /home/qt/work/install/include/QtQml/6.0.0/QtQml/private/qqmlnotifier_p.h:54,
      agent:2020/11/10 00:13:18 build.go:379:                  from /home/qt/work/install/include/QtQml/6.0.0/QtQml/private/qqmlpropertycache_p.h:57,
      agent:2020/11/10 00:13:18 build.go:379:                  from /home/qt/work/install/include/QtQml/6.0.0/QtQml/private/qqmlmetaobject_p.h:57,
      agent:2020/11/10 00:13:18 build.go:379:                  from /home/qt/work/install/include/QtQml/6.0.0/QtQml/private/qqmlglobal_p.h:56,
      agent:2020/11/10 00:13:18 build.go:379:                  from include/QtQuickTemplates2/6.0.0/QtQuickTemplates2/private/../../../../../src/quicktemplates2/qtquicktemplates2global_p.h:52,
      agent:2020/11/10 00:13:18 build.go:379:                  from include/QtQuickTemplates2/6.0.0/QtQuickTemplates2/private/qtquicktemplates2global_p.h:1,
      agent:2020/11/10 00:13:18 build.go:379:                  from src/quicktemplates2/qquickactiongroup_p.h:52,
      agent:2020/11/10 00:13:18 build.go:379:                  from src/quicktemplates2/qquickactiongroup.cpp:37:
      agent:2020/11/10 00:13:18 build.go:379: /home/qt/work/install/include/QtQml/qqmllist.h:76:89: note:   initializing argument 5 of ‘QQmlListProperty<T>::QQmlListProperty(QObject*, void*, QQmlListProperty<T>::AppendFunction, QQmlListProperty<T>::CountFunction, QQmlListProperty<T>::AtFunction, QQmlListProperty<T>::ClearFunction) [with T = QQuickAction; QQmlListProperty<T>::AppendFunction = void (*)(QQmlListProperty<QQuickAction>*, QQuickAction*); QQmlListProperty<T>::CountFunction = long long int (*)(QQmlListProperty<QQuickAction>*); qsizetype = long long int; QQmlListProperty<T>::AtFunction = QQuickAction* (*)(QQmlListProperty<QQuickAction>*, long long int); QQmlListProperty<T>::ClearFunction = void (*)(QQmlListProperty<QQuickAction>*)]’
      agent:2020/11/10 00:13:18 build.go:379:    76 |     QQmlListProperty(QObject *o, void *d, AppendFunction a, CountFunction c, AtFunction t,
      agent:2020/11/10 00:13:18 build.go:379:       |                                                                              ~~~~~~~~~~~^
      

      Build log: https://testresults.qt.io/logs/qt/qtquickcontrols2/37d6f77e3c7c8d18c9162e3ceaececbe9e23a4f0/LinuxUbuntu_20_04x86_64LinuxUbuntu_20_04x86_64GCCqtci-linux-Ubuntu-20.04-x86_64-50-cc16ecInsignificantTests_Sccache/88ef931593630739015acb03b15e6b1bb98a9153/build_1604967148/log.txt.gz

      Details: https://testresults.qt.io/coin/integration/qt/qtquickcontrols2/tasks/1604967122

      Tested changes (refs/builds/qtci/dev/1604967060):
      https://codereview.qt-project.org/c/qt/qtquickcontrols2/+/321058/1 Update dependencies on 'dev' in qt/qtquickcontrols2

        Attachments

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

          Activity

            People

            Assignee:
            vhilshei Volker Hilsheimer
            Reporter:
            janihe Jani Heikkinen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes