Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. qt.core.qmetaobject.connectslotsbyname error
Qt 6.11 is out! See what's new in the release blog

qt.core.qmetaobject.connectslotsbyname error

Scheduled Pinned Locked Moved Solved General and Desktop
3 Posts 2 Posters 526 Views
  • 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.
  • M Offline
    M Offline
    masa4
    wrote on last edited by
    #1
    qt.core.qmetaobject.connectslotsbyname: QMetaObject::connectSlotsByName: No matching signal for on_pushButtonCancel_clicked()
    

    I got this warning. When I search for on_pushButtonCancel_clicked(), I found I used it in 2 different classes. Are same names in different classes not allowed?

    1 Reply Last reply
    0
    • Christian EhrlicherC Offline
      Christian EhrlicherC Offline
      Christian Ehrlicher
      Lifetime Qt Champion
      wrote on last edited by
      #2

      It simply means that you don't have an object with the name pushButtonCancel in your ui you're using in your dialog.
      Please stop using the auto-connect feature and do the connect() calls by yourself.

      Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
      Visit the Qt Academy at https://academy.qt.io/catalog

      M 1 Reply Last reply
      2
      • Christian EhrlicherC Christian Ehrlicher

        It simply means that you don't have an object with the name pushButtonCancel in your ui you're using in your dialog.
        Please stop using the auto-connect feature and do the connect() calls by yourself.

        M Offline
        M Offline
        masa4
        wrote on last edited by
        #3

        @Christian-Ehrlicher thanks, yes i checked ui, prolly i deleted the button by mistake.

        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 Extensions
        • Unsolved