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

Qt Designer does not restrict slot for root window

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • P3: Somewhat important
    • Some future release
    • 4.6.1
    • Tools: Designer
    • None
    • Qt SDK 4.6.1, Qt Creator 1.3.1

    Description

      Creating a MainWindow using Qt Designer or Qt Creator's Form Editor, then doing "go to slot" on the main window, will create a slot method with automatic naming convention.

      ...but this code would throw a warning during runtime that a matching signal could not be found:

      QMetaObject::connectSlotsByName: No matching signal for on_MainWindow_destroyed()

      Since connectSlotsByName() can only connect slots for child objects, Qt Designer should restrict automatic naming convention for the slot and generate code to manually connect the signal & slot.

      Similar issue: http://ubuntuforums.org/archive/index.php/t-432590.html

      Attachments

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

        Activity

          People

            kleint Friedemann Kleint
            ceefour Hendy Irawan
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes