[6950/8357] Linking CXX shared library qtbase/lib/libQt6Sensors.so.6.2.0 [6951/8357] Creating library symlink qtbase/lib/libQt6Sensors.so.6 qtbase/lib/libQt6Sensors.so [6952/8357] Automatic MOC for target genericSensorPlugin [6953/8357] Building CXX object qtquick3d/src/plugins/assetimporters/assimp/CMakeFiles/AssimpImporterPlugin.dir/__/__/__/3rdparty/assimp/src/code/AssetLib/glTF2/glTF2Importer.cpp.o [6954/8357] Building CXX object qtsensors/src/plugins/sensors/sensortag/CMakeFiles/SensortagSensorPlugin.dir/sensortaggyroscope.cpp.o [6955/8357] Building CXX object qtsensors/src/plugins/sensors/sensortag/CMakeFiles/SensortagSensorPlugin.dir/sensortagbase.cpp.o FAILED: qtsensors/src/plugins/sensors/sensortag/CMakeFiles/SensortagSensorPlugin.dir/sensortagbase.cpp.o /usr/bin/g++ -DQT_BLUETOOTH_LIB -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_DEPRECATED_WARNINGS -DQT_DEPRECATED_WARNINGS_SINCE=0x060000 -DQT_DISABLE_DEPRECATED_BEFORE=0x050000 -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_NO_EXCEPTIONS -DQT_PLUGIN -DQT_SENSORS_LIB -DSensortagSensorPlugin_EXPORTS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -Iqtsensors/src/plugins/sensors/sensortag/SensortagSensorPlugin_autogen/include -Iqtsensors/src/plugins/sensors/sensortag -Iqtbase/include -Iqtbase/include/QtBluetooth -Iqtbase/include/QtCore -Iqtbase/mkspecs/linux-g++ -Iqtbase/include/QtNetwork -Iqtbase/include/QtDBus -Iqtsensors/src/sensors -Iqtbase/include/QtSensors/6.2.0 -Iqtbase/include/QtSensors/6.2.0/QtSensors -Iqtbase/src/corelib -Iqtbase/include/QtCore/6.2.0 -Iqtbase/include/QtCore/6.2.0/QtCore -Iqtbase/include/QtSensors -DNDEBUG -O2 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -Wall -Wextra -fno-exceptions -fPIC -Wsuggest-override -std=c++17 -MD -MT qtsensors/src/plugins/sensors/sensortag/CMakeFiles/SensortagSensorPlugin.dir/sensortagbase.cpp.o -MF qtsensors/src/plugins/sensors/sensortag/CMakeFiles/SensortagSensorPlugin.dir/sensortagbase.cpp.o.d -o qtsensors/src/plugins/sensors/sensortag/CMakeFiles/SensortagSensorPlugin.dir/sensortagbase.cpp.o -c qtsensors/src/plugins/sensors/sensortag/sensortagbase.cpp qtsensors/src/plugins/sensors/sensortag/sensortagbase.cpp: In member function ‘void SensorTagBasePrivate::deviceSearch()’: qtsensors/src/plugins/sensors/sensortag/sensortagbase.cpp:62:128: error: no matching function for call to ‘QOverload::of(QBluetoothDeviceDiscoveryAgent::Error (QBluetoothDeviceDiscoveryAgent::*)() const)’ 62 | connect(m_deviceDiscoveryAgent, QOverload::of(&QBluetoothDeviceDiscoveryAgent::error), | ^ In file included from qtbase/include/QtCore/qglobal.h:1, from qtbase/include/QtCore/../../src/corelib/global/qnamespace.h:44, from qtbase/include/QtCore/qnamespace.h:1, from qtbase/include/QtCore/../../src/corelib/kernel/qobjectdefs.h:48, from qtbase/include/QtCore/qobjectdefs.h:1, from qtbase/include/QtCore/../../src/corelib/kernel/qobject.h:46, from qtbase/include/QtCore/qobject.h:1, from qtbase/include/QtCore/QObject:1, from qtsensors/src/plugins/sensors/sensortag/sensortagbase.h:44, from qtsensors/src/plugins/sensors/sensortag/sensortagbase.cpp:41: qtbase/include/QtCore/../../src/corelib/global/qglobal.h:1362:27: note: candidate: ‘template static constexpr decltype (ptr) QOverload::of(R (*)(Args ...)) [with R = R; Args = {QBluetoothDeviceDiscoveryAgent::Error}]’ 1362 | static constexpr auto of(R (*ptr)(Args...)) noexcept -> decltype(ptr) | ^~ qtbase/include/QtCore/../../src/corelib/global/qglobal.h:1362:27: note: template argument deduction/substitution failed: qtsensors/src/plugins/sensors/sensortag/sensortagbase.cpp:62:128: note: mismatched types ‘R (*)(QBluetoothDeviceDiscoveryAgent::Error)’ and ‘QBluetoothDeviceDiscoveryAgent::Error (QBluetoothDeviceDiscoveryAgent::*)() const’ 62 | connect(m_deviceDiscoveryAgent, QOverload::of(&QBluetoothDeviceDiscoveryAgent::error), | ^ In file included from qtbase/include/QtCore/qglobal.h:1, from qtbase/include/QtCore/../../src/corelib/global/qnamespace.h:44, from qtbase/include/QtCore/qnamespace.h:1, from qtbase/include/QtCore/../../src/corelib/kernel/qobjectdefs.h:48, from qtbase/include/QtCore/qobjectdefs.h:1, from qtbase/include/QtCore/../../src/corelib/kernel/qobject.h:46, from qtbase/include/QtCore/qobject.h:1, from qtbase/include/QtCore/QObject:1, from qtsensors/src/plugins/sensors/sensortag/sensortagbase.h:44, from qtsensors/src/plugins/sensors/sensortag/sensortagbase.cpp:41: qtbase/include/QtCore/../../src/corelib/global/qglobal.h:1345:27: note: candidate: ‘template static constexpr decltype (ptr) QConstOverload::of(R (T::*)(Args ...) const) [with R = R; T = T; Args = {QBluetoothDeviceDiscoveryAgent::Error}]’ 1345 | static constexpr auto of(R (T::*ptr)(Args...) const) noexcept -> decltype(ptr) | ^~ qtbase/include/QtCore/../../src/corelib/global/qglobal.h:1345:27: note: template argument deduction/substitution failed: qtsensors/src/plugins/sensors/sensortag/sensortagbase.cpp:62:128: note: candidate expects 2 arguments, 1 provided 62 | connect(m_deviceDiscoveryAgent, QOverload::of(&QBluetoothDeviceDiscoveryAgent::error), | ^ In file included from qtbase/include/QtCore/qglobal.h:1, from qtbase/include/QtCore/../../src/corelib/global/qnamespace.h:44, from qtbase/include/QtCore/qnamespace.h:1, from qtbase/include/QtCore/../../src/corelib/kernel/qobjectdefs.h:48, from qtbase/include/QtCore/qobjectdefs.h:1, from qtbase/include/QtCore/../../src/corelib/kernel/qobject.h:46, from qtbase/include/QtCore/qobject.h:1, from qtbase/include/QtCore/QObject:1, from qtsensors/src/plugins/sensors/sensortag/sensortagbase.h:44, from qtsensors/src/plugins/sensors/sensortag/sensortagbase.cpp:41: qtbase/include/QtCore/../../src/corelib/global/qglobal.h:1333:27: note: candidate: ‘template static constexpr decltype (ptr) QNonConstOverload::of(R (T::*)(Args ...)) [with R = R; T = T; Args = {QBluetoothDeviceDiscoveryAgent::Error}]’ 1333 | static constexpr auto of(R (T::*ptr)(Args...)) noexcept -> decltype(ptr) | ^~ qtbase/include/QtCore/../../src/corelib/global/qglobal.h:1333:27: note: template argument deduction/substitution failed: qtsensors/src/plugins/sensors/sensortag/sensortagbase.cpp:62:128: note: types ‘R (T::)(QBluetoothDeviceDiscoveryAgent::Error)’ and ‘QBluetoothDeviceDiscoveryAgent::Error (QBluetoothDeviceDiscoveryAgent::)() const’ have incompatible cv-qualifiers 62 | connect(m_deviceDiscoveryAgent, QOverload::of(&QBluetoothDeviceDiscoveryAgent::error), | ^ qtsensors/src/plugins/sensors/sensortag/sensortagbase.cpp: In member function ‘void SensorTagBasePrivate::deviceFound(const QBluetoothDeviceInfo&)’: qtsensors/src/plugins/sensors/sensortag/sensortagbase.cpp:91:72: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: 91 | (!watchForId.isNull() && watchForId == device.deviceUuid())) { | ^ In file included from qtbase/include/QtCore/quuid.h:1, from qtbase/include/QtCore/QUuid:1, from qtbase/include/QtBluetooth/../../../qtconnectivity/src/bluetooth/qbluetoothuuid.h:47, from qtbase/include/QtBluetooth/qbluetoothuuid.h:1, from qtbase/include/QtBluetooth/QBluetoothUuid:1, from qtbase/include/QtBluetooth/../../../qtconnectivity/src/bluetooth/qlowenergycontroller.h:46, from qtbase/include/QtBluetooth/qlowenergycontroller.h:1, from qtbase/include/QtBluetooth/QLowEnergyController:1, from qtsensors/src/plugins/sensors/sensortag/sensortagbase.h:49, from qtsensors/src/plugins/sensors/sensortag/sensortagbase.cpp:41: qtbase/include/QtCore/../../src/corelib/plugin/quuid.h:137:20: note: candidate 1: ‘constexpr bool QUuid::operator==(const QUuid&) const’ 137 | constexpr bool operator==(const QUuid &orig) const noexcept | ^~~~~~~~ In file included from qtbase/include/QtBluetooth/qbluetoothuuid.h:1, from qtbase/include/QtBluetooth/QBluetoothUuid:1, from qtbase/include/QtBluetooth/../../../qtconnectivity/src/bluetooth/qlowenergycontroller.h:46, from qtbase/include/QtBluetooth/qlowenergycontroller.h:1, from qtbase/include/QtBluetooth/QLowEnergyController:1, from qtsensors/src/plugins/sensors/sensortag/sensortagbase.h:49, from qtsensors/src/plugins/sensors/sensortag/sensortagbase.cpp:41: qtbase/include/QtBluetooth/../../../qtconnectivity/src/bluetooth/qbluetoothuuid.h:391:17: note: candidate 2: ‘bool operator==(const QBluetoothUuid&, const QBluetoothUuid&)’ 391 | friend bool operator==(const QBluetoothUuid &a, const QBluetoothUuid &b) | ^~~~~~~~ qtsensors/src/plugins/sensors/sensortag/sensortagbase.cpp:98:72: error: ‘QLowEnergyController::QLowEnergyController(const QBluetoothAddress&, QObject*)’ is private within this context 98 | m_control = new QLowEnergyController(device.address(), this); | ^ In file included from qtbase/include/QtBluetooth/qlowenergycontroller.h:1, from qtbase/include/QtBluetooth/QLowEnergyController:1, from qtsensors/src/plugins/sensors/sensortag/sensortagbase.h:49, from qtsensors/src/plugins/sensors/sensortag/sensortagbase.cpp:41: qtbase/include/QtBluetooth/../../../qtconnectivity/src/bluetooth/qlowenergycontroller.h:155:14: note: declared private here 155 | explicit QLowEnergyController(const QBluetoothAddress &localDevice, QObject *parent = nullptr); | ^~~~~~~~~~~~~~~~~~~~ qtsensors/src/plugins/sensors/sensortag/sensortagbase.cpp:104:103: error: no matching function for call to ‘QOverload::of(QLowEnergyController::Error (QLowEnergyController::*)() const)’ 104 | connect(m_control, QOverload::of(&QLowEnergyController::error), | ^ In file included from qtbase/include/QtCore/qglobal.h:1, from qtbase/include/QtCore/../../src/corelib/global/qnamespace.h:44, from qtbase/include/QtCore/qnamespace.h:1, from qtbase/include/QtCore/../../src/corelib/kernel/qobjectdefs.h:48, from qtbase/include/QtCore/qobjectdefs.h:1, from qtbase/include/QtCore/../../src/corelib/kernel/qobject.h:46, from qtbase/include/QtCore/qobject.h:1, from qtbase/include/QtCore/QObject:1, from qtsensors/src/plugins/sensors/sensortag/sensortagbase.h:44, from qtsensors/src/plugins/sensors/sensortag/sensortagbase.cpp:41: qtbase/include/QtCore/../../src/corelib/global/qglobal.h:1362:27: note: candidate: ‘template static constexpr decltype (ptr) QOverload::of(R (*)(Args ...)) [with R = R; Args = {QLowEnergyController::Error}]’ 1362 | static constexpr auto of(R (*ptr)(Args...)) noexcept -> decltype(ptr) | ^~ qtbase/include/QtCore/../../src/corelib/global/qglobal.h:1362:27: note: template argument deduction/substitution failed: qtsensors/src/plugins/sensors/sensortag/sensortagbase.cpp:104:103: note: mismatched types ‘R (*)(QLowEnergyController::Error)’ and ‘QLowEnergyController::Error (QLowEnergyController::*)() const’ 104 | connect(m_control, QOverload::of(&QLowEnergyController::error), | ^ In file included from qtbase/include/QtCore/qglobal.h:1, from qtbase/include/QtCore/../../src/corelib/global/qnamespace.h:44, from qtbase/include/QtCore/qnamespace.h:1, from qtbase/include/QtCore/../../src/corelib/kernel/qobjectdefs.h:48, from qtbase/include/QtCore/qobjectdefs.h:1, from qtbase/include/QtCore/../../src/corelib/kernel/qobject.h:46, from qtbase/include/QtCore/qobject.h:1, from qtbase/include/QtCore/QObject:1, from qtsensors/src/plugins/sensors/sensortag/sensortagbase.h:44, from qtsensors/src/plugins/sensors/sensortag/sensortagbase.cpp:41: qtbase/include/QtCore/../../src/corelib/global/qglobal.h:1345:27: note: candidate: ‘template static constexpr decltype (ptr) QConstOverload::of(R (T::*)(Args ...) const) [with R = R; T = T; Args = {QLowEnergyController::Error}]’ 1345 | static constexpr auto of(R (T::*ptr)(Args...) const) noexcept -> decltype(ptr) | ^~ qtbase/include/QtCore/../../src/corelib/global/qglobal.h:1345:27: note: template argument deduction/substitution failed: qtsensors/src/plugins/sensors/sensortag/sensortagbase.cpp:104:103: note: candidate expects 2 arguments, 1 provided 104 | connect(m_control, QOverload::of(&QLowEnergyController::error), | ^ In file included from qtbase/include/QtCore/qglobal.h:1, from qtbase/include/QtCore/../../src/corelib/global/qnamespace.h:44, from qtbase/include/QtCore/qnamespace.h:1, from qtbase/include/QtCore/../../src/corelib/kernel/qobjectdefs.h:48, from qtbase/include/QtCore/qobjectdefs.h:1, from qtbase/include/QtCore/../../src/corelib/kernel/qobject.h:46, from qtbase/include/QtCore/qobject.h:1, from qtbase/include/QtCore/QObject:1, from qtsensors/src/plugins/sensors/sensortag/sensortagbase.h:44, from qtsensors/src/plugins/sensors/sensortag/sensortagbase.cpp:41: qtbase/include/QtCore/../../src/corelib/global/qglobal.h:1333:27: note: candidate: ‘template static constexpr decltype (ptr) QNonConstOverload::of(R (T::*)(Args ...)) [with R = R; T = T; Args = {QLowEnergyController::Error}]’ 1333 | static constexpr auto of(R (T::*ptr)(Args...)) noexcept -> decltype(ptr) | ^~ qtbase/include/QtCore/../../src/corelib/global/qglobal.h:1333:27: note: template argument deduction/substitution failed: qtsensors/src/plugins/sensors/sensortag/sensortagbase.cpp:104:103: note: types ‘R (T::)(QLowEnergyController::Error)’ and ‘QLowEnergyController::Error (QLowEnergyController::)() const’ have incompatible cv-qualifiers 104 | connect(m_control, QOverload::of(&QLowEnergyController::error), | ^ qtsensors/src/plugins/sensors/sensortag/sensortagbase.cpp: In member function ‘void SensorTagBasePrivate::doConnections(QLowEnergyService*)’: qtsensors/src/plugins/sensors/sensortag/sensortagbase.cpp:221:52: warning: ‘QLowEnergyService::DiscoveryRequired’ is deprecated: DiscoveryRequired was renamed to RemoteService. [-Wdeprecated-declarations] 221 | if (service->state() == QLowEnergyService::DiscoveryRequired) { | ^~~~~~~~~~~~~~~~~ In file included from qtbase/include/QtBluetooth/qlowenergyservice.h:1, from qtbase/include/QtBluetooth/QLowEnergyService:1, from qtbase/include/QtBluetooth/../../../qtconnectivity/src/bluetooth/qlowenergycontroller.h:49, from qtbase/include/QtBluetooth/qlowenergycontroller.h:1, from qtbase/include/QtBluetooth/QLowEnergyController:1, from qtsensors/src/plugins/sensors/sensortag/sensortagbase.h:49, from qtsensors/src/plugins/sensors/sensortag/sensortagbase.cpp:41: qtbase/include/QtBluetooth/../../../qtconnectivity/src/bluetooth/qlowenergyservice.h:81:9: note: declared here 81 | DiscoveryRequired | ^~~~~~~~~~~~~~~~~ qtsensors/src/plugins/sensors/sensortag/sensortagbase.cpp:221:52: warning: ‘QLowEnergyService::DiscoveryRequired’ is deprecated: DiscoveryRequired was renamed to RemoteService. [-Wdeprecated-declarations] 221 | if (service->state() == QLowEnergyService::DiscoveryRequired) { | ^~~~~~~~~~~~~~~~~ In file included from qtbase/include/QtBluetooth/qlowenergyservice.h:1, from qtbase/include/QtBluetooth/QLowEnergyService:1, from qtbase/include/QtBluetooth/../../../qtconnectivity/src/bluetooth/qlowenergycontroller.h:49, from qtbase/include/QtBluetooth/qlowenergycontroller.h:1, from qtbase/include/QtBluetooth/QLowEnergyController:1, from qtsensors/src/plugins/sensors/sensortag/sensortagbase.h:49, from qtsensors/src/plugins/sensors/sensortag/sensortagbase.cpp:41: qtbase/include/QtBluetooth/../../../qtconnectivity/src/bluetooth/qlowenergyservice.h:81:9: note: declared here 81 | DiscoveryRequired | ^~~~~~~~~~~~~~~~~ qtsensors/src/plugins/sensors/sensortag/sensortagbase.cpp: In member function ‘void SensorTagBasePrivate::serviceStateChanged(QLowEnergyService::ServiceState)’: qtsensors/src/plugins/sensors/sensortag/sensortagbase.cpp:232:40: warning: ‘QLowEnergyService::ServiceDiscovered’ is deprecated: ServiceDiscovered was renamed to RemoteServiceDiscovered. [-Wdeprecated-declarations] 232 | if (newState != QLowEnergyService::ServiceDiscovered) | ^~~~~~~~~~~~~~~~~ In file included from qtbase/include/QtBluetooth/qlowenergyservice.h:1, from qtbase/include/QtBluetooth/QLowEnergyService:1, from qtbase/include/QtBluetooth/../../../qtconnectivity/src/bluetooth/qlowenergycontroller.h:49, from qtbase/include/QtBluetooth/qlowenergycontroller.h:1, from qtbase/include/QtBluetooth/QLowEnergyController:1, from qtsensors/src/plugins/sensors/sensortag/sensortagbase.h:49, from qtsensors/src/plugins/sensors/sensortag/sensortagbase.cpp:41: qtbase/include/QtBluetooth/../../../qtconnectivity/src/bluetooth/qlowenergyservice.h:89:9: note: declared here 89 | ServiceDiscovered | ^~~~~~~~~~~~~~~~~ qtsensors/src/plugins/sensors/sensortag/sensortagbase.cpp:232:40: warning: ‘QLowEnergyService::ServiceDiscovered’ is deprecated: ServiceDiscovered was renamed to RemoteServiceDiscovered. [-Wdeprecated-declarations] 232 | if (newState != QLowEnergyService::ServiceDiscovered) | ^~~~~~~~~~~~~~~~~ In file included from qtbase/include/QtBluetooth/qlowenergyservice.h:1, from qtbase/include/QtBluetooth/QLowEnergyService:1, from qtbase/include/QtBluetooth/../../../qtconnectivity/src/bluetooth/qlowenergycontroller.h:49, from qtbase/include/QtBluetooth/qlowenergycontroller.h:1, from qtbase/include/QtBluetooth/QLowEnergyController:1, from qtsensors/src/plugins/sensors/sensortag/sensortagbase.h:49, from qtsensors/src/plugins/sensors/sensortag/sensortagbase.cpp:41: qtbase/include/QtBluetooth/../../../qtconnectivity/src/bluetooth/qlowenergyservice.h:89:9: note: declared here 89 | ServiceDiscovered | ^~~~~~~~~~~~~~~~~ [6956/8357] Building CXX object qtsensors/src/plugins/sensors/sensortag/CMakeFiles/SensortagSensorPlugin.dir/sensortagpressuresensor.cpp.o [6957/8357] Building CXX object qtsensors/src/plugins/sensors/sensortag/CMakeFiles/SensortagSensorPlugin.dir/sensortaghumiditysensor.cpp.o [6958/8357] Building CXX object qtsensors/src/plugins/sensors/sensortag/CMakeFiles/SensortagSensorPlugin.dir/sensortagmagnetometer.cpp.o [6959/8357] Linking CXX shared module qtbase/plugins/assetimporters/libassimp.so [6960/8357] Building CXX object qtsensors/src/plugins/sensors/sensortag/CMakeFiles/SensortagSensorPlugin.dir/sensortaglightsensor.cpp.o [6961/8357] Building CXX object qtsensors/src/plugins/sensors/sensortag/CMakeFiles/SensortagSensorPlugin.dir/sensortagtemperaturesensor.cpp.o [6962/8357] Building CXX object qtsensors/src/plugins/sensors/generic/CMakeFiles/genericSensorPlugin.dir/genericSensorPlugin_autogen/mocs_compilation.cpp.o [6963/8357] Building CXX object qtscxml/src/statemachineqml/CMakeFiles/StateMachineQml.dir/cmake_pch.hxx.gch [6964/8357] Building CXX object qtsensors/src/plugins/sensors/generic/CMakeFiles/genericSensorPlugin.dir/genericalssensor.cpp.o ninja: build stopped: subcommand failed.