1
0
mirror of https://github.com/qt/qtmqtt.git synced 2026-10-25 16:16:26 +00:00
qtmqtt/examples/mqtt/quicksubscription
Even Oscar Andersen b539b0c38b Fix signal/slot problem with quicksubscription example
The example does not build with latest changes.

As it turns out there is a mismatch between the topic property
and the connected signal. Since the signal is not used, it is
removed in the hope that it will then build.

The error message from the build is:

Failure Summary:
The build failed due to a compilation error in 'qmlmqttclient.cpp'.
The function 'QmlMqttSubscription::topicChanged()' was called without
the required 'QString' argument.

Log snippet:
error: no matching function for call to ‘QmlMqttSubscription::topicChanged()’
note: candidate: ‘void QmlMqttSubscription::topicChanged(QString)’
note: candidate expects 1 argument, 0 provided

Change-Id: Ia8cedda578e2f2c082354892bd00cb9fd25b5652
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
2024-11-20 17:36:32 +01:00
..
CMakeLists.txt Change license for build files in example 2024-03-20 08:12:04 +01:00
main.cpp QuickSubscription example: Port CMakeLists.txt to use qt_add_qml_module 2023-06-12 09:58:14 +02:00
Main.qml Revamp documentation for Quicksubscription example 2023-06-26 11:37:28 +02:00
qmldir QuickSubscription example: Port CMakeLists.txt to use qt_add_qml_module 2023-06-12 09:58:14 +02:00
qmlmqttclient.cpp Fix signal/slot problem with quicksubscription example 2024-11-20 17:36:32 +01:00
qmlmqttclient.h Fix signal/slot problem with quicksubscription example 2024-11-20 17:36:32 +01:00
quicksubscription.pro QuickSubscription example: Port CMakeLists.txt to use qt_add_qml_module 2023-06-12 09:58:14 +02:00