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

qtquick3d 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: 3D
    • Labels:
      None
    • Commits:
      6e27cd10649284e8841e86039a10896c24a77ea2 b0150791f53015ee86f6d7e6788d687593e0c561 (qt/qtquick3d/dev)

      Description

      agent:2020/11/10 00:16:25 build.go:379: src/quick3d/qquick3dmodel.cpp: In member function ‘QQmlListProperty<QQuick3DMaterial> QQuick3DModel::materials()’:
      agent:2020/11/10 00:16:25 build.go:379: src/quick3d/qquick3dmodel.cpp:173:60: error: invalid conversion from ‘int (*)(QQmlListProperty<QQuick3DMaterial>*)’ to ‘QQmlListProperty<QQuick3DMaterial>::CountFunction’ {aka ‘long long int (*)(QQmlListProperty<QQuick3DMaterial>*)’} [-fpermissive]
      agent:2020/11/10 00:16:25 build.go:379:   173 |                                             QQuick3DModel::qmlMaterialsCount,
      agent:2020/11/10 00:16:25 build.go:379:       |                                             ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
      agent:2020/11/10 00:16:25 build.go:379:       |                                                            |
      agent:2020/11/10 00:16:25 build.go:379:       |                                                            int (*)(QQmlListProperty<QQuick3DMaterial>*)
      agent:2020/11/10 00:16:25 build.go:379: In file included from /home/qt/work/install/include/QtQml/qqmlprivate.h:59,
      agent:2020/11/10 00:16:25 build.go:379:                  from /home/qt/work/install/include/QtQml/qqml.h:43,
      agent:2020/11/10 00:16:25 build.go:379:                  from include/QtQuick3D/../../src/quick3d/qquick3dobject.h:35,
      agent:2020/11/10 00:16:25 build.go:379:                  from include/QtQuick3D/qquick3dobject.h:1,
      agent:2020/11/10 00:16:25 build.go:379:                  from include/QtQuick3D/6.0.0/QtQuick3D/private/../../../../../src/quick3d/qquick3dnode_p.h:44,
      agent:2020/11/10 00:16:25 build.go:379:                  from include/QtQuick3D/6.0.0/QtQuick3D/private/qquick3dnode_p.h:1,
      agent:2020/11/10 00:16:25 build.go:379:                  from src/quick3d/qquick3dmodel_p.h:44,
      agent:2020/11/10 00:16:25 build.go:379:                  from src/quick3d/qquick3dmodel.cpp:30:
      agent:2020/11/10 00:16:25 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 = QQuick3DMaterial; QQmlListProperty<T>::AppendFunction = void (*)(QQmlListProperty<QQuick3DMaterial>*, QQuick3DMaterial*); QQmlListProperty<T>::CountFunction = long long int (*)(QQmlListProperty<QQuick3DMaterial>*); qsizetype = long long int; QQmlListProperty<T>::AtFunction = QQuick3DMaterial* (*)(QQmlListProperty<QQuick3DMaterial>*, long long int); QQmlListProperty<T>::ClearFunction = void (*)(QQmlListProperty<QQuick3DMaterial>*)]’
      agent:2020/11/10 00:16:25 build.go:379:    76 |     QQmlListProperty(QObject *o, void *d, AppendFunction a, CountFunction c, AtFunction t,
      agent:2020/11/10 00:16:25 build.go:379:       |                                                             ~~~~~~~~~~~~~~^
      agent:2020/11/10 00:16:25 build.go:379: src/quick3d/qquick3dmodel.cpp:174:60: error: invalid conversion from ‘QQuick3DMaterial* (*)(QQmlListProperty<QQuick3DMaterial>*, int)’ to ‘QQmlListProperty<QQuick3DMaterial>::AtFunction’ {aka ‘QQuick3DMaterial* (*)(QQmlListProperty<QQuick3DMaterial>*, long long int)’} [-fpermissive]
      agent:2020/11/10 00:16:25 build.go:379:   174 |                                             QQuick3DModel::qmlMaterialAt,
      agent:2020/11/10 00:16:25 build.go:379:       |                                             ~~~~~~~~~~~~~~~^~~~~~~~~~~~~
      agent:2020/11/10 00:16:25 build.go:379:       |                                                            |
      agent:2020/11/10 00:16:25 build.go:379:       |                                                            QQuick3DMaterial* (*)(QQmlListProperty<QQuick3DMaterial>*, int)
      agent:2020/11/10 00:16:25 build.go:379: In file included from /home/qt/work/install/include/QtQml/qqmlprivate.h:59,
      agent:2020/11/10 00:16:25 build.go:379:                  from /home/qt/work/install/include/QtQml/qqml.h:43,
      agent:2020/11/10 00:16:25 build.go:379:                  from include/QtQuick3D/../../src/quick3d/qquick3dobject.h:35,
      agent:2020/11/10 00:16:25 build.go:379:                  from include/QtQuick3D/qquick3dobject.h:1,
      agent:2020/11/10 00:16:25 build.go:379:                  from include/QtQuick3D/6.0.0/QtQuick3D/private/../../../../../src/quick3d/qquick3dnode_p.h:44,
      agent:2020/11/10 00:16:25 build.go:379:                  from include/QtQuick3D/6.0.0/QtQuick3D/private/qquick3dnode_p.h:1,
      agent:2020/11/10 00:16:25 build.go:379:                  from src/quick3d/qquick3dmodel_p.h:44,
      agent:2020/11/10 00:16:25 build.go:379:                  from src/quick3d/qquick3dmodel.cpp:30:
      agent:2020/11/10 00:16:25 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 = QQuick3DMaterial; QQmlListProperty<T>::AppendFunction = void (*)(QQmlListProperty<QQuick3DMaterial>*, QQuick3DMaterial*); QQmlListProperty<T>::CountFunction = long long int (*)(QQmlListProperty<QQuick3DMaterial>*); qsizetype = long long int; QQmlListProperty<T>::AtFunction = QQuick3DMaterial* (*)(QQmlListProperty<QQuick3DMaterial>*, long long int); QQmlListProperty<T>::ClearFunction = void (*)(QQmlListProperty<QQuick3DMaterial>*)]’
      agent:2020/11/10 00:16:25 build.go:379:    76 |     QQmlListProperty(QObject *o, void *d, AppendFunction a, CountFunction c, AtFunction t,
      agent:2020/11/10 00:16:25 build.go:379:       |                                                                              ~~~~~~~~~~~^
      

      Build log: https://testresults.qt.io/logs/qt/qtwayland/58815ffcbaa243604785004d123fadbb8f6ee245/LinuxUbuntu_20_04x86_64LinuxUbuntu_20_04x86_64GCCqtci-linux-Ubuntu-20.04-x86_64-50-cc16ecInsignificantTests_Sccache/88ef931593630739015acb03b15e6b1bb98a9153/build_1604967274/log.txt.gz

      Details: https://testresults.qt.io/coin/integration/qt/qtwayland/tasks/1604967193

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

        Attachments

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

          Activity

            People

            Assignee:
            fabiankosmale Fabian Kosmale
            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