1
0
mirror of https://github.com/qt/qtmqtt.git synced 2026-10-25 16:16:26 +00:00
qtmqtt/examples/mqtt
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
..
doc Document the Quickpublication example 2023-06-26 12:59:23 +02:00
quickpublication Change license for build files in example 2024-03-20 08:12:04 +01:00
quicksubscription Fix signal/slot problem with quicksubscription example 2024-11-20 17:36:32 +01:00
simpleclient Change license for build files in example 2024-03-20 08:12:04 +01:00
subscriptions Change license for build files in example 2024-03-20 08:12:04 +01:00
websocketsubscription Change license for build files in example 2024-03-20 08:12:04 +01:00
CMakeLists.txt Change license for build files in example 2024-03-20 08:12:04 +01:00
mqtt.pro Move the console pub/sub example to manual tests 2023-04-01 10:02:50 +02:00