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

tst_qqmlecmascript.cpp:906:43: error: no match for ‘operator=’

    XMLWordPrintable

    Details

    • Commits:
      f5877880c5596f953a8beee62a91c4e1a2b8a510 (qt/qtdeclarative/dev)

      Description

      11123:  1720 |     virtual void componentComplete();
             |                  ^~~~~~~~~~~~~~~~~
       In file included from /home/qt/work/qt/qtdeclarative/tests/auto/qml/qqmlecmascript/tst_qqmlecmascript.cpp:42:
       /home/qt/work/qt/qtdeclarative/tests/auto/qml/qqmlecmascript/../../shared/testhttpserver.h:116:10: warning: ‘virtual void ThreadedTestHTTPServer::run()’ can be marked override [-Wsuggest-override]
         116 |     void run();
             |          ^~~
       /home/qt/work/qt/qtdeclarative/tests/auto/qml/qqmlecmascript/tst_qqmlecmascript.cpp:78:10: warning: ‘virtual void tst_qqmlecmascript::initTestCase()’ can be marked override [-Wsuggest-override]
          78 |     void initTestCase();
             |          ^~~~~~~~~~~~
       /home/qt/work/qt/qtdeclarative/tests/auto/qml/qqmlecmascript/tst_qqmlecmascript.cpp: In member function ‘void QPropertyBindingLoop::setEager1(float)’:
       /home/qt/work/qt/qtdeclarative/tests/auto/qml/qqmlecmascript/tst_qqmlecmascript.cpp:904:43: error: no match for ‘operator=’ (operand types are ‘QObjectCompatProperty<QPropertyBindingLoop, float, QPropertyBindingLoop::_qt_property_eager1Data_offset, &QPropertyBindingLoop::setEager1>’ and ‘float’)
       
       11134:   904 |     void setEager1(float f) {eager1Data = f;}
             |                                           ^
       In file included from /home/qt/work/qt/qtdeclarative/tests/auto/qml/qqmlecmascript/tst_qqmlecmascript.cpp:56:
       /home/qt/work/install/include/QtCore/6.1.0/QtCore/private/qproperty_p.h:375:7: note: candidate: ‘constexpr QObjectCompatProperty<QPropertyBindingLoop, float, QPropertyBindingLoop::_qt_property_eager1Data_offset, &QPropertyBindingLoop::setEager1>& QObjectCompatProperty<QPropertyBindingLoop, float, QPropertyBindingLoop::_qt_property_eager1Data_offset, &QPropertyBindingLoop::setEager1>::operator=(const QObjectCompatProperty<QPropertyBindingLoop, float, QPropertyBindingLoop::_qt_property_eager1Data_offset, &QPropertyBindingLoop::setEager1>&)’
         375 | class QObjectCompatProperty : public QPropertyData<T>
             |       ^~~~~~~~~~~~~~~~~~~~~
       /home/qt/work/install/include/QtCore/6.1.0/QtCore/private/qproperty_p.h:375:7: note:   no known conversion for argument 1 from ‘float’ to ‘const QObjectCompatProperty<QPropertyBindingLoop, float, QPropertyBindingLoop::_qt_property_eager1Data_offset, &QPropertyBindingLoop::setEager1>&’
       /home/qt/work/install/include/QtCore/6.1.0/QtCore/private/qproperty_p.h:375:7: note: candidate: ‘constexpr QObjectCompatProperty<QPropertyBindingLoop, float, QPropertyBindingLoop::_qt_property_eager1Data_offset, &QPropertyBindingLoop::setEager1>& QObjectCompatProperty<QPropertyBindingLoop, float, QPropertyBindingLoop::_qt_property_eager1Data_offset, &QPropertyBindingLoop::setEager1>::operator=(QObjectCompatProperty<QPropertyBindingLoop, float, QPropertyBindingLoop::_qt_property_eager1Data_offset, &QPropertyBindingLoop::setEager1>&&)’
       /home/qt/work/install/include/QtCore/6.1.0/QtCore/private/qproperty_p.h:375:7: note:   no known conversion for argument 1 from ‘float’ to ‘QObjectCompatProperty<QPropertyBindingLoop, float, QPropertyBindingLoop::_qt_property_eager1Data_offset, &QPropertyBindingLoop::setEager1>&&’
       /home/qt/work/qt/qtdeclarative/tests/auto/qml/qqmlecmascript/tst_qqmlecmascript.cpp: In member function ‘void QPropertyBindingLoop::setEager2(float)’:
       /home/qt/work/qt/qtdeclarative/tests/auto/qml/qqmlecmascript/tst_qqmlecmascript.cpp:906:43: error: no match for ‘operator=’ (operand types are ‘QObjectCompatProperty<QPropertyBindingLoop, float, QPropertyBindingLoop::_qt_property_eager2Data_offset, &QPropertyBindingLoop::setEager2>’ and ‘float’)
       
       11291: Unsupported compiler calls            0
       Average cache write               0.036 s
       Average cache read miss           2.113 s
       Average cache read hit            0.079 s
       Failed distributed compilations       0
       Non-cacheable reasons:
       -x                                    8
       Cache location                  S3, bucket: Bucket(name=cache, base_url=http://ci-sccache:9000/cache/)
       agent:2021/02/01 04:09:05 build.go:670:
       Build failed
       ERROR building: exit status 1
      

      Build log: https://testresults.qt.io/logs/qt/qtdeclarative/aa526f4399a77d07e93a3fb7035334460ac1f5f0/LinuxopenSUSE_15_2x86_64LinuxopenSUSE_15_2x86_64GCCqtci-linux-openSUSE-15.2-x86_64-50-c2eeeeSccache/9f2c7567eab856ee5c4c994ffe8db063ad742506/build_1612152275/log.txt.gz

      Details: https://testresults.qt.io/coin/integration/qt/qtdeclarative/tasks/1612152209

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

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

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes