Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-30660

error: 'connectSlotsByName' is not a member of 'QMetaObject' In file included from .ui_widget.h:40:22: error: 'connectSlotsByName' is not a member of 'QMetaObject'

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • Not Evaluated
    • None
    • Qt Creator 13.0.0
    • Widget Designer
    • None

    Description

      C:\Users\LENOVO\Documents\untitled13\build\Desktop_Qt_6_4_0_MinGW_64_bit-Debug\ui_widget.h:40: error: 'connectSlotsByName' is not a member of 'QMetaObject'
      In file included from ..\..\widget.cpp:2:
      ./ui_widget.h: In member function 'void Ui_Widget::setupUi(QWidget*)':
      ./ui_widget.h:40:22: error: 'connectSlotsByName' is not a member of 'QMetaObject'
         40 |         QMetaObject::connectSlotsByName(Widget);
            |                      ^~~~~~~~~~~~~~~~~~

      Attachments

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

        Activity

          People

            kleint Friedemann Kleint
            hzk H T
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes