Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt
  • Unsolved
Collapse
qtws26_logo

The Qt Event of the Year: Qt World Summit 2026

Save Your Spot >
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. no signal of the target matches the name
Qt 6.12 LTS is out! See what's new in the release blog

no signal of the target matches the name

Scheduled Pinned Locked Moved Solved QML and Qt Quick
5 Posts 3 Posters 473 Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    DSpUz
    wrote on last edited by
    #1

    Hello fellow Qt Devs,

    I wanted to report on a silent error not reported during build , but only at runtime.
    The signal handler functions name must match the signal name, and of course with first letter capitalized.
    signal_handler_function_name_error.png
    If you want to reproduce the error yourself, the code used is in the repository for C++ Integration course https://github.com/qt-learning/QML-Integration-Intermediate/tree/main - Section 4 or Section 5.

    The other post mentioning the error has another dynamic issue, mine could be solved by just renaming the function.

    Cheers, DSU

    https://github.com/DSpUz

    1 Reply Last reply
    1
    • D DSpUz has marked this topic as solved on
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      Which version of the code do you have ? I just cloned the repository you linked and both section 4 and section 5 Globals class have numChanged declared as signal and both are working properly.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      D 1 Reply Last reply
      0
      • SGaistS SGaist

        Hi,

        Which version of the code do you have ? I just cloned the repository you linked and both section 4 and section 5 Globals class have numChanged declared as signal and both are working properly.

        D Offline
        D Offline
        DSpUz
        wrote on last edited by
        #3

        @SGaist Hi, i just happened to write my own names while following the tutorial, so there is no issue in the code base, however to duplicate the issue you can change the numChanged after NOTIFY to numberChanged and see what happens.

        Cheers

        https://github.com/DSpUz

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Sorry, I misunderstood the goal of your post.
          I thought you encountered an inconsistency in the content of the examples.

          Glad it's all good.

          Happy learning !

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          1
          • KH-219DesignK Offline
            KH-219DesignK Offline
            KH-219Design
            wrote on last edited by
            #5

            This is a nice mini writeup that will surely help people who encounter (and then google) the output: "This is probably intended to be a signal handler but no signal of the target matches the name"

            www.219design.com
            Software | Electrical | Mechanical | Product Design

            1 Reply Last reply
            0

            • Login

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Users
            • Groups
            • Search
            • Get Qt
            • Unsolved