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

error: no matching constructor for initialization of 'QMutableEventPoint'

    XMLWordPrintable

    Details

    • Commits:
      b33fd136ca709f7dbb11a77cd6e2a58849f3fd44

      Description

      /Users/qt/work/qt/qtdeclarative/tests/auto/quick/qquickmultipointtoucharea/tst_qquickmultipointtoucharea.cpp
      agent:2022/01/21 06:26:51 build.go:394: /Users/qt/work/qt/qtdeclarative/tests/auto/quick/qquickmultipointtoucharea/tst_qquickmultipointtoucharea.cpp:1354:24: error: no matching constructor for initialization of 'QMutableEventPoint'
      agent:2022/01/21 06:26:51 build.go:394:     QMutableEventPoint tp1(1);
      agent:2022/01/21 06:26:51 build.go:394:                        ^   ~
      agent:2022/01/21 06:26:51 build.go:394: /Users/qt/work/install/lib/QtGui.framework/Headers/6.3.0/QtGui/private/qeventpoint_p.h:121:7: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'int' to 'const QMutableEventPoint' for 1st argument
      agent:2022/01/21 06:26:51 build.go:394: class QMutableEventPoint
      agent:2022/01/21 06:26:51 build.go:394:       ^
      agent:2022/01/21 06:26:51 build.go:394: /Users/qt/work/install/lib/QtGui.framework/Headers/6.3.0/QtGui/private/qeventpoint_p.h:121:7: note: candidate constructor (the implicit move constructor) not viable: no known conversion from 'int' to 'QMutableEventPoint' for 1st argument
      agent:2022/01/21 06:26:51 build.go:394: /Users/qt/work/install/lib/QtGui.framework/Headers/6.3.0/QtGui/private/qeventpoint_p.h:121:7: note: candidate constructor (the implicit default constructor) not viable: requires 0 arguments, but 1 was provided
      agent:2022/01/21 06:26:51 build.go:394: /Users/qt/work/qt/qtdeclarative/tests/auto/quick/qquickmultipointtoucharea/tst_qquickmultipointtoucharea.cpp:1356:50: error: too few arguments to function call, expected 2, have 1
      agent:2022/01/21 06:26:51 build.go:394:     tp1.setGlobalPosition(window->mapToGlobal(p1));
      agent:2022/01/21 06:26:51 build.go:394:     ~~~~~~~~~~~~~~~~~~~~~                        ^
      agent:2022/01/21 06:26:51 build.go:394: /Users/qt/work/install/lib/QtGui.framework/Headers/6.3.0/QtGui/private/qeventpoint_p.h:152:5: note: 'setGlobalPosition' declared here
      agent:2022/01/21 06:26:51 build.go:394:     TRIVIAL_SETTER(QPointF, globalPos, GlobalPosition)
      agent:2022/01/21 06:26:51 build.go:394:     ^
      agent:2022/01/21 06:26:51 build.go:394: /Users/qt/work/install/lib/QtGui.framework/Headers/6.3.0/QtGui/private/qeventpoint_p.h:138:17: note: expanded from macro 'TRIVIAL_SETTER'
      agent:2022/01/21 06:26:51 build.go:394:     static void set##Field (QEventPoint &p, type arg) { p.d->field = std::move(arg); } \
      agent:2022/01/21 06:26:51 build.go:394:                 ^
      agent:2022/01/21 06:26:51 build.go:394: <scratch space>:41:1: note: expanded from here
      agent:2022/01/21 06:26:51 build.go:394: setGlobalPosition
      agent:2022/01/21 06:26:51 build.go:394: ^
      agent:2022/01/21 06:26:51 build.go:394: /Users/qt/work/qt/qtdeclarative/tests/auto/quick/qquickmultipointtoucharea/tst_qquickmultipointtoucharea.cpp:1357:45: error: too few arguments to function call, expected 2, have 1
      agent:2022/01/21 06:26:51 build.go:394:     tp1.setState(QEventPoint::State::Pressed);
      agent:2022/01/21 06:26:51 build.go:394:     ~~~~~~~~~~~~                            ^
      agent:2022/01/21 06:26:51 build.go:394: /Users/qt/work/install/lib/QtGui.framework/Headers/6.3.0/QtGui/private/qeventpoint_p.h:148:5: note: 'setState' declared here
      agent:2022/01/21 06:26:51 build.go:394:     TRIVIAL_SETTER(QEventPoint::State, state, State)
      agent:2022/01/21 06:26:51 build.go:394:     ^
      agent:2022/01/21 06:26:51 build.go:394: /Users/qt/work/install/lib/QtGui.framework/Headers/6.3.0/QtGui/private/qeventpoint_p.h:138:17: note: expanded from macro 'TRIVIAL_SETTER'
      agent:2022/01/21 06:26:51 build.go:394:     static void set##Field (QEventPoint &p, type arg) { p.d->field = std::move(arg); } \
      agent:2022/01/21 06:26:51 build.go:394:                 ^
      agent:2022/01/21 06:26:51 build.go:394: <scratch space>:37:1: note: expanded from here
      agent:2022/01/21 06:26:51 build.go:394: setState
      agent:2022/01/21 06:26:51 build.go:394: ^
      agent:2022/01/21 06:26:51 build.go:394: /Users/qt/work/qt/qtdeclarative/tests/auto/quick/qquickmultipointtoucharea/tst_qquickmultipointtoucharea.cpp:1358:24: error: too few arguments to function call, expected 2, have 1
      agent:2022/01/21 06:26:51 build.go:394:     tp1.setPressure(0.5);
      agent:2022/01/21 06:26:51 build.go:394:     ~~~~~~~~~~~~~~~    ^
      agent:2022/01/21 06:26:51 build.go:394: /Users/qt/work/install/lib/QtGui.framework/Headers/6.3.0/QtGui/private/qeventpoint_p.h:158:5: note: 'setPressure' declared here
      agent:2022/01/21 06:26:51 build.go:394:     TRIVIAL_SETTER(qreal, pressure, Pressure)
      agent:2022/01/21 06:26:51 build.go:394:     ^
      agent:2022/01/21 06:26:51 build.go:394: /Users/qt/work/install/lib/QtGui.framework/Headers/6.3.0/QtGui/private/qeventpoint_p.h:138:17: note: expanded from macro 'TRIVIAL_SETTER'
      agent:2022/01/21 06:26:51 build.go:394:     static void set##Field (QEventPoint &p, type arg) { p.d->field = std::move(arg); } \
      agent:2022/01/21 06:26:51 build.go:394:                 ^
      agent:2022/01/21 06:26:51 build.go:394: <scratch space>:46:1: note: expanded from here
      agent:2022/01/21 06:26:51 build.go:394: setPressure
      agent:2022/01/21 06:26:51 build.go:394: ^
      agent:2022/01/21 06:26:51 build.go:394: /Users/qt/work/qt/qtdeclarative/tests/auto/quick/qquickmultipointtoucharea/tst_qquickmultipointtoucharea.cpp:1359:5: error: no matching function for call to 'qt_handleTouchEvent'
      agent:2022/01/21 06:26:51 build.go:394:     qt_handleTouchEvent(window.data(), device, {tp1});
      agent:2022/01/21 06:26:51 build.go:394:     ^~~~~~~~~~~~~~~~~~~
      agent:2022/01/21 06:26:51 build.go:394: /Users/qt/work/install/lib/QtGui.framework/Headers/qtestsupport_gui.h:51:20: note: candidate function not viable: cannot convert initializer list argument to 'const QList<QEventPoint>'
      agent:2022/01/21 06:26:51 build.go:394: Q_GUI_EXPORT  void qt_handleTouchEvent(QWindow *w, const QPointingDevice *device,
      agent:2022/01/21 06:26:51 build.go:394:                    ^
      agent:2022/01/21 06:26:51 build.go:394: /Users/qt/work/qt/qtdeclarative/tests/auto/quick/qquickmultipointtoucharea/tst_qquickmultipointtoucharea.cpp:1365:48: error: too few arguments to function call, expected 2, have 1
      agent:2022/01/21 06:26:51 build.go:394:     tp1.setState(QEventPoint::State::Stationary);
      agent:2022/01/21 06:26:51 build.go:394:     ~~~~~~~~~~~~                               ^
      agent:2022/01/21 06:26:51 build.go:394: /Users/qt/work/install/lib/QtGui.framework/Headers/6.3.0/QtGui/private/qeventpoint_p.h:148:5: note: 'setState' declared here
      agent:2022/01/21 06:26:51 build.go:394:     TRIVIAL_SETTER(QEventPoint::State, state, State)
      agent:2022/01/21 06:26:51 build.go:394:     ^
      agent:2022/01/21 06:26:51 build.go:394: /Users/qt/work/install/lib/QtGui.framework/Headers/6.3.0/QtGui/private/qeventpoint_p.h:138:17: note: expanded from macro 'TRIVIAL_SETTER'
      agent:2022/01/21 06:26:51 build.go:394:     static void set##Field (QEventPoint &p, type arg) { p.d->field = std::move(arg); } \
      agent:2022/01/21 06:26:51 build.go:394:                 ^
      agent:2022/01/21 06:26:51 build.go:394: <scratch space>:37:1: note: expanded from here
      agent:2022/01/21 06:26:51 build.go:394: setState
      agent:2022/01/21 06:26:51 build.go:394: ^
      agent:2022/01/21 06:26:51 build.go:394: /Users/qt/work/qt/qtdeclarative/tests/auto/quick/qquickmultipointtoucharea/tst_qquickmultipointtoucharea.cpp:1366:24: error: too few arguments to function call, expected 2, have 1
      agent:2022/01/21 06:26:51 build.go:394:     tp1.setPressure(0.6);
      agent:2022/01/21 06:26:51 build.go:394:     ~~~~~~~~~~~~~~~    ^
      agent:2022/01/21 06:26:51 build.go:394: /Users/qt/work/install/lib/QtGui.framework/Headers/6.3.0/QtGui/private/qeventpoint_p.h:158:5: note: 'setPressure' declared here
      agent:2022/01/21 06:26:51 build.go:394:     TRIVIAL_SETTER(qreal, pressure, Pressure)
      agent:2022/01/21 06:26:51 build.go:394:     ^
      agent:2022/01/21 06:26:51 build.go:394: /Users/qt/work/install/lib/QtGui.framework/Headers/6.3.0/QtGui/private/qeventpoint_p.h:138:17: note: expanded from macro 'TRIVIAL_SETTER'
      agent:2022/01/21 06:26:51 build.go:394:     static void set##Field (QEventPoint &p, type arg) { p.d->field = std::move(arg); } \
      agent:2022/01/21 06:26:51 build.go:394:                 ^
      agent:2022/01/21 06:26:51 build.go:394: <scratch space>:46:1: note: expanded from here
      agent:2022/01/21 06:26:51 build.go:394: setPressure
      agent:2022/01/21 06:26:51 build.go:394: ^
      agent:2022/01/21 06:26:51 build.go:394: /Users/qt/work/qt/qtdeclarative/tests/auto/quick/qquickmultipointtoucharea/tst_qquickmultipointtoucharea.cpp:1367:5: error: no matching function for call to 'qt_handleTouchEvent'
      agent:2022/01/21 06:26:51 build.go:394:     qt_handleTouchEvent(window.data(), device, {tp1});
      agent:2022/01/21 06:26:51 build.go:394:     ^~~~~~~~~~~~~~~~~~~
      agent:2022/01/21 06:26:51 build.go:394: /Users/qt/work/install/lib/QtGui.framework/Headers/qtestsupport_gui.h:51:20: note: candidate function not viable: cannot convert initializer list argument to 'const QList<QEventPoint>'
      agent:2022/01/21 06:26:51 build.go:394: Q_GUI_EXPORT  void qt_handleTouchEvent(QWindow *w, const QPointingDevice *device,
      agent:2022/01/21 06:26:51 build.go:394:                    ^
      agent:2022/01/21 06:26:51 build.go:394: /Users/qt/work/qt/qtdeclarative/tests/auto/quick/qquickmultipointtoucharea/tst_qquickmultipointtoucharea.cpp:1372:46: error: too few arguments to function call, expected 2, have 1
      agent:2022/01/21 06:26:51 build.go:394:     tp1.setState(QEventPoint::State::Released);
      agent:2022/01/21 06:26:51 build.go:394:     ~~~~~~~~~~~~                             ^
      agent:2022/01/21 06:26:51 build.go:394: /Users/qt/work/install/lib/QtGui.framework/Headers/6.3.0/QtGui/private/qeventpoint_p.h:148:5: note: 'setState' declared here
      agent:2022/01/21 06:26:51 build.go:394:     TRIVIAL_SETTER(QEventPoint::State, state, State)
      agent:2022/01/21 06:26:51 build.go:394:     ^
      agent:2022/01/21 06:26:51 build.go:394: /Users/qt/work/install/lib/QtGui.framework/Headers/6.3.0/QtGui/private/qeventpoint_p.h:138:17: note: expanded from macro 'TRIVIAL_SETTER'
      agent:2022/01/21 06:26:51 build.go:394:     static void set##Field (QEventPoint &p, type arg) { p.d->field = std::move(arg); } \
      agent:2022/01/21 06:26:51 build.go:394:                 ^
      agent:2022/01/21 06:26:51 build.go:394: <scratch space>:37:1: note: expanded from here
      agent:2022/01/21 06:26:51 build.go:394: setState
      agent:2022/01/21 06:26:51 build.go:394: ^
      agent:2022/01/21 06:26:51 build.go:394: /Users/qt/work/qt/qtdeclarative/tests/auto/quick/qquickmultipointtoucharea/tst_qquickmultipointtoucharea.cpp:1373:22: error: too few arguments to function call, expected 2, have 1
      agent:2022/01/21 06:26:51 build.go:394:     tp1.setPressure(0);
      agent:2022/01/21 06:26:51 build.go:394:     ~~~~~~~~~~~~~~~  ^
      agent:2022/01/21 06:26:51 build.go:394: /Users/qt/work/install/lib/QtGui.framework/Headers/6.3.0/QtGui/private/qeventpoint_p.h:158:5: note: 'setPressure' declared here
      agent:2022/01/21 06:26:51 build.go:394:     TRIVIAL_SETTER(qreal, pressure, Pressure)
      agent:2022/01/21 06:26:51 build.go:394:     ^
      agent:2022/01/21 06:26:51 build.go:394: /Users/qt/work/install/lib/QtGui.framework/Headers/6.3.0/QtGui/private/qeventpoint_p.h:138:17: note: expanded from macro 'TRIVIAL_SETTER'
      agent:2022/01/21 06:26:51 build.go:394:     static void set##Field (QEventPoint &p, type arg) { p.d->field = std::move(arg); } \
      agent:2022/01/21 06:26:51 build.go:394:                 ^
      agent:2022/01/21 06:26:51 build.go:394: <scratch space>:46:1: note: expanded from here
      agent:2022/01/21 06:26:51 build.go:394: setPressure
      agent:2022/01/21 06:26:51 build.go:394: ^
      agent:2022/01/21 06:26:51 build.go:394: /Users/qt/work/qt/qtdeclarative/tests/auto/quick/qquickmultipointtoucharea/tst_qquickmultipointtoucharea.cpp:1374:5: error: no matching function for call to 'qt_handleTouchEvent'
      agent:2022/01/21 06:26:51 build.go:394:     qt_handleTouchEvent(window.data(), device, {tp1});
      agent:2022/01/21 06:26:51 build.go:394:     ^~~~~~~~~~~~~~~~~~~
      agent:2022/01/21 06:26:51 build.go:394: /Users/qt/work/install/lib/QtGui.framework/Headers/qtestsupport_gui.h:51:20: note: candidate function not viable: cannot convert initializer list argument to 'const QList<QEventPoint>'
      agent:2022/01/21 06:26:51 build.go:394: Q_GUI_EXPORT  void qt_handleTouchEvent(QWindow *w, const QPointingDevice *device,
      agent:2022/01/21 06:26:51 build.go:394:                    ^
      agent:2022/01/21 06:26:51 build.go:394: 11 errors generated.
      

      Build log: https://testresults.qt.io/logs/qt/qtdeclarative/017534935cf8f833c0cbe73f2a4c3fce1152530a/MacOSMacOS_12arm64MacOSMacOS_12arm64Clangqtci-macos-12-arm64WarningsAreErrors/e1c98550722a147c2eca6476575c520081308b29/build_1642746043/log.txt.gz

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

      Tested changes (refs/builds/qtci/6.3/1642745917):

      https://codereview.qt-project.org/c/qt/qtdeclarative/+/391305/2 Update dependencies on '6.3' in qt/qtdeclarative

        Attachments

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

          Activity

            People

            Assignee:
            mmutz Marc Mutz
            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