-
Bug
-
Resolution: Done
-
P0: Blocker
-
6.2.3, 6.3.0 Feature Freeze
-
None
-
f5d9ffcba008668c90d839f79dbaf9518d5f5755 (qt/qtsensors/dev) 5c4d5167fc7950eb47686c3414764ff65c7c8681 (qt/qtsensors/6.2)
agent:2021/11/26 21:27:11 build.go:394: In file included from /Users/qt/work/qt/qtsensors/src/sensorsquick/qmlirproximitysensor.cpp:40:
agent:2021/11/26 21:27:11 build.go:394: In file included from /Users/qt/work/qt/qtsensors/src/sensorsquick/qmlirproximitysensor_p.h:54:
agent:2021/11/26 21:27:11 build.go:394: /Users/qt/work/qt/qtsensors/src/sensorsquick/qmlsensor_p.h:198:42: error: unknown type name 'm_reading'
agent:2021/11/26 21:27:11 build.go:394: m_reading, nullptr)
agent:2021/11/26 21:27:11 build.go:394: ^
agent:2021/11/26 21:27:11 build.go:394: /Users/qt/work/qt/qtsensors/src/sensorsquick/qmlsensor_p.h:198:53: error: expected parameter declarator
agent:2021/11/26 21:27:11 build.go:394: m_reading, nullptr)
agent:2021/11/26 21:27:11 build.go:394: ^
agent:2021/11/26 21:27:11 build.go:394: /Users/qt/work/qt/qtsensors/src/sensorsquick/qmlsensor_p.h:198:53: error: expected ')'
agent:2021/11/26 21:27:11 build.go:394: /Users/qt/work/qt/qtsensors/src/sensorsquick/qmlsensor_p.h:197:41: note: to match this '('
agent:2021/11/26 21:27:11 build.go:394: Q_OBJECT_BINDABLE_PROPERTY_WITH_ARGS(QmlSensor, QmlSensorReading*,
agent:2021/11/26 21:27:11 build.go:394: ^
agent:2021/11/26 21:27:11 build.go:394: /Users/qt/work/qt/qtsensors/src/sensorsquick/qmlsensor_p.h:197:5: error: C++ requires a type specifier for all declarations
agent:2021/11/26 21:27:11 build.go:394: Q_OBJECT_BINDABLE_PROPERTY_WITH_ARGS(QmlSensor, QmlSensorReading*,
agent:2021/11/26 21:27:11 build.go:394: ^
agent:2021/11/26 21:27:11 build.go:394: /Users/qt/work/qt/qtsensors/src/sensorsquick/qmlsensor_p.h:198:61: error: expected ';' at end of declaration list
agent:2021/11/26 21:27:11 build.go:394: m_reading, nullptr)
agent:2021/11/26 21:27:11 build.go:394: ^
agent:2021/11/26 21:27:11 build.go:394: ;
agent:2021/11/26 21:27:11 build.go:394: /Users/qt/work/qt/qtsensors/src/sensorsquick/qmlsensor_p.h:224:32: error: unknown type name 'm_timestamp'
agent:2021/11/26 21:27:11 build.go:394: m_timestamp, &QmlSensorReading::timestampChanged)
agent:2021/11/26 21:27:11 build.go:394: ^
agent:2021/11/26 21:27:11 build.go:394: /Users/qt/work/qt/qtsensors/src/sensorsquick/qmlsensor_p.h:224:64: error: parameter declarator cannot be qualified
agent:2021/11/26 21:27:11 build.go:394: m_timestamp, &QmlSensorReading::timestampChanged)
agent:2021/11/26 21:27:11 build.go:394: ~~~~~~~~~~~~~~~~~~^
agent:2021/11/26 21:27:11 build.go:394: /Users/qt/work/qt/qtsensors/src/sensorsquick/qmlsensor_p.h:224:64: error: C++ requires a type specifier for all declarations
agent:2021/11/26 21:27:11 build.go:394: /Users/qt/work/qt/qtsensors/src/sensorsquick/qmlsensor_p.h:223:5: error: C++ requires a type specifier for all declarations
agent:2021/11/26 21:27:11 build.go:394: Q_OBJECT_BINDABLE_PROPERTY(QmlSensorReading, quint64,
agent:2021/11/26 21:27:11 build.go:394: ^
agent:2021/11/26 21:27:11 build.go:394: /Users/qt/work/qt/qtsensors/src/sensorsquick/qmlsensor_p.h:224:81: error: expected ';' at end of declaration list
agent:2021/11/26 21:27:11 build.go:394: m_timestamp, &QmlSensorReading::timestampChanged)
agent:2021/11/26 21:27:11 build.go:394: ^
agent:2021/11/26 21:27:11 build.go:394: ;
agent:2021/11/26 21:27:11 build.go:394: In file included from /Users/qt/work/qt/qtsensors/src/sensorsquick/qmlirproximitysensor.cpp:40:
agent:2021/11/26 21:27:11 build.go:394: /Users/qt/work/qt/qtsensors/src/sensorsquick/qmlirproximitysensor_p.h:99:32: error: unknown type name 'm_reflectance'
agent:2021/11/26 21:27:11 build.go:394: m_reflectance, &QmlIRProximitySensorReading::reflectanceChanged)
agent:2021/11/26 21:27:11 build.go:394: ^
agent:2021/11/26 21:27:11 build.go:394: /Users/qt/work/qt/qtsensors/src/sensorsquick/qmlirproximitysensor_p.h:99:77: error: parameter declarator cannot be qualified
agent:2021/11/26 21:27:11 build.go:394: m_reflectance, &QmlIRProximitySensorReading::reflectanceChanged)
agent:2021/11/26 21:27:11 build.go:394: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
agent:2021/11/26 21:27:11 build.go:394: /Users/qt/work/qt/qtsensors/src/sensorsquick/qmlirproximitysensor_p.h:99:77: error: C++ requires a type specifier for all declarations
agent:2021/11/26 21:27:11 build.go:394: /Users/qt/work/qt/qtsensors/src/sensorsquick/qmlirproximitysensor_p.h:98:5: error: C++ requires a type specifier for all declarations
agent:2021/11/26 21:27:11 build.go:394: Q_OBJECT_BINDABLE_PROPERTY(QmlIRProximitySensorReading, qreal,
agent:2021/11/26 21:27:11 build.go:394: ^
agent:2021/11/26 21:27:11 build.go:394: /Users/qt/work/qt/qtsensors/src/sensorsquick/qmlirproximitysensor_p.h:99:96: error: expected ';' at end of declaration list
agent:2021/11/26 21:27:11 build.go:394: m_reflectance, &QmlIRProximitySensorReading::reflectanceChanged)
agent:2021/11/26 21:27:11 build.go:394: ^
agent:2021/11/26 21:27:11 build.go:394: ;
agent:2021/11/26 21:27:11 build.go:394: /Users/qt/work/qt/qtsensors/src/sensorsquick/qmlirproximitysensor.cpp:115:12: error: use of undeclared identifier 'm_reflectance'; did you mean 'reflectance'?
agent:2021/11/26 21:27:11 build.go:394: return m_reflectance;
agent:2021/11/26 21:27:11 build.go:394: ^~~~~~~~~~~~~
agent:2021/11/26 21:27:11 build.go:394: reflectance
agent:2021/11/26 21:27:11 build.go:394: /Users/qt/work/qt/qtsensors/src/sensorsquick/qmlirproximitysensor.cpp:113:36: note: 'reflectance' declared here
agent:2021/11/26 21:27:11 build.go:394: qreal QmlIRProximitySensorReading::reflectance() const
agent:2021/11/26 21:27:11 build.go:394: ^
agent:2021/11/26 21:27:11 build.go:394: /Users/qt/work/qt/qtsensors/src/sensorsquick/qmlirproximitysensor.cpp:115:12: error: reference to non-static member function must be called; did you mean to call it with no arguments?
agent:2021/11/26 21:27:11 build.go:394: return m_reflectance;
agent:2021/11/26 21:27:11 build.go:394: ^~~~~~~~~~~~~
agent:2021/11/26 21:27:11 build.go:394: ()
agent:2021/11/26 21:27:11 build.go:394: /Users/qt/work/qt/qtsensors/src/sensorsquick/qmlirproximitysensor.cpp:118:47: error: implicit instantiation of undefined template 'TestNamespace::QBindable<double>'
agent:2021/11/26 21:27:11 build.go:394: QBindable<qreal> QmlIRProximitySensorReading::bindableReflectance() const
agent:2021/11/26 21:27:11 build.go:394: ^
agent:2021/11/26 21:27:11 build.go:394: /Users/qt/work/install/include/QtCore/qobject.h:66:29: note: template is declared here
agent:2021/11/26 21:27:11 build.go:394: template <typename T> class QBindable;
agent:2021/11/26 21:27:11 build.go:394: ^
agent:2021/11/26 21:27:11 build.go:394: /Users/qt/work/qt/qtsensors/src/sensorsquick/qmlirproximitysensor.cpp:120:13: error: use of undeclared identifier 'm_reflectance'; did you mean 'QIRProximityReading::reflectance'?
agent:2021/11/26 21:27:11 build.go:394: return &m_reflectance;
agent:2021/11/26 21:27:11 build.go:394: ^~~~~~~~~~~~~
agent:2021/11/26 21:27:11 build.go:394: QIRProximityReading::reflectance
agent:2021/11/26 21:27:11 build.go:394: /Users/qt/work/qt/qtsensors/include/QtSensors/../../src/sensors/qirproximitysensor.h:55:11: note: 'QIRProximityReading::reflectance' declared here
agent:2021/11/26 21:27:11 build.go:394: qreal reflectance() const;
agent:2021/11/26 21:27:11 build.go:394: ^
agent:2021/11/26 21:27:11 build.go:394: fatal error: too many errors emitted, stopping now [-ferror-limit=]
agent:2021/11/26 21:27:11 build.go:394: 20 errors generated.
agent:2021/11/26 21:27:11 build.go:394: ninja: build stopped: subcommand failed.
Details: https://testresults.qt.io/coin/integration/qt/qtsensors/tasks/1637972419
Tested changes (refs/builds/qtci/dev/1637956675):
https://codereview.qt-project.org/c/qt/qtsensors/+/383373/2 Update dependencies on 'dev' in qt/qtsensors