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

error: no matching function for call to ‘QmlMqttSubscription::topicChanged()

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P0: Blocker
    • None
    • 6.9.0 FF
    • MQTT
    • None
    • Linux/X11

    Description

      /home/qt/work/qt/qtmqtt_standalone_examples/examples/mqtt/quicksubscription/quicksubscription_autogen/EWIEGA46WW/moc_qmlmqttclient.cpp: In static member function ‘static void QmlMqttSubscription::qt_static_metacall(TestNamespace::QObject*, TestNamespace::QMetaObject::Call, int, void**)’:
      /home/qt/work/qt/qtmqtt_standalone_examples/examples/mqtt/quicksubscription/quicksubscription_autogen/EWIEGA46WW/moc_qmlmqttclient.cpp:144:40: error: no matching function for call to ‘QmlMqttSubscription::topicChanged()’
        144 |                 Q_EMIT _t->topicChanged();
            |                        ~~~~~~~~~~~~~~~~^~
      In file included from /home/qt/work/qt/qtmqtt_standalone_examples/examples/mqtt/quicksubscription/quicksubscription_autogen/EWIEGA46WW/moc_qmlmqttclient.cpp:9:
      /home/qt/work/qt/qtmqtt_standalone_examples/examples/mqtt/quicksubscription/quicksubscription_autogen/EWIEGA46WW/../../../../../../qtmqtt/examples/mqtt/quicksubscription/qmlmqttclient.h:25:10: note: candidate: ‘void QmlMqttSubscription::topicChanged(TestNamespace::QString)’
         25 |     void topicChanged(QString);
            |          ^~~~~~~~~~~~
      /home/qt/work/qt/qtmqtt_standalone_examples/examples/mqtt/quicksubscription/quicksubscription_autogen/EWIEGA46WW/../../../../../../qtmqtt/examples/mqtt/quicksubscription/qmlmqttclient.h:25:10: note:   candidate expects 1 argument, 0 provided
      Sccache command failed, re-try calling build tool directly
      In file included from /home/qt/work/qt/qtmqtt_standalone_examples/examples/mqtt/quicksubscription/quicksubscription_autogen/mocs_compilation.cpp:2:
      /home/qt/work/qt/qtmqtt_standalone_examples/examples/mqtt/quicksubscription/quicksubscription_autogen/EWIEGA46WW/moc_qmlmqttclient.cpp: In static member function ‘static void QmlMqttSubscription::qt_static_metacall(TestNamespace::QObject*, TestNamespace::QMetaObject::Call, int, void**)’:
      /home/qt/work/qt/qtmqtt_standalone_examples/examples/mqtt/quicksubscription/quicksubscription_autogen/EWIEGA46WW/moc_qmlmqttclient.cpp:144:40: error: no matching function for call to ‘QmlMqttSubscription::topicChanged()’
        144 |                 Q_EMIT _t->topicChanged();
            |                        ~~~~~~~~~~~~~~~~^~
      In file included from /home/qt/work/qt/qtmqtt_standalone_examples/examples/mqtt/quicksubscription/quicksubscription_autogen/EWIEGA46WW/moc_qmlmqttclient.cpp:9:
      /home/qt/work/qt/qtmqtt_standalone_examples/examples/mqtt/quicksubscription/quicksubscription_autogen/EWIEGA46WW/../../../../../../qtmqtt/examples/mqtt/quicksubscription/qmlmqttclient.h:25:10: note: candidate: ‘void QmlMqttSubscription::topicChanged(TestNamespace::QString)’
         25 |     void topicChanged(QString);
            |          ^~~~~~~~~~~~
      /home/qt/work/qt/qtmqtt_standalone_examples/examples/mqtt/quicksubscription/quicksubscription_autogen/EWIEGA46WW/../../../../../../qtmqtt/examples/mqtt/quicksubscription/qmlmqttclient.h:25:10: note:   candidate expects 1 argument, 0 provided
      

      Build log: https://testresults.qt.io/logs/qt/qtmqtt/ec19fd40fed9877ab7b35cab2efa1cf4c30fe704/LinuxUbuntu_24_04x86_64LinuxUbuntu_24_04x86_64GCCqtci-linux-Ubuntu-24.04-x86_64-50-12ad58Sccache_StandaloneExamples_UseConfigure/63e63be4ef7458bb509f3cedab298a9303f56a77/build_1732037314/log.txt.gz

      Details: https://testresults.qt.io/coin/integration/qt/qtmqtt/tasks/1732037120

      Tested changes (refs/builds/qtci/dev/1732036433):
      https://codereview.qt-project.org/c/qt/qtmqtt/+/605322/2 Update dependencies on 'dev' in qt/qtmqtt

      Attachments

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

        Activity

          People

            mkalinow Maurice Kalinowski
            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