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

QDesigner assigns name that generates warnings

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 5.5.0, 5.7.1, 5.10.1
    • Tools: Designer
    • None
    • Linux Mint 17.2
      Qt 5.5

    Description

      In a form that contains some objects - like a splitter - QDesigner assigns a default name to each pain in the splitter as "layoutWidget". Warning: dlgmyform.ui:-1: warning: The name 'layoutWidget' (QWidget) is already in use, defaulting to 'layoutWidget1'. All panes following the first, get the same name which conflicts with the unique naming convention. This always reports a warning at compile time. The compiler defaults to the "name+N" name to resolve the conflict.

      This is not a property available to the author - but perhaps should be - in order to avoid the annoying warning messages and add specific object name for track-able debugging.

      uic dlgnetsmaint.ui > /dev/null
      dlgnetsmaint.ui: Warning: The name 'layoutWidget' (QWidget) is already in use, defaulting to 'layoutWidget1'.
      dlgnetsmaint.ui: Warning: The name 'layoutWidget' (QWidget) is already in use, defaulting to 'layoutWidget2'.
      

      Attachments

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

        Activity

          People

            kleint Friedemann Kleint
            ad5xj Ken Standard
            Votes:
            5 Vote for this issue
            Watchers:
            11 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes