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

Qt Creator puts wrong fields for spacer objects

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Incomplete
    • Icon: Not Evaluated Not Evaluated
    • 5.15.18
    • 6.7.2
    • Build tools: uic
    • None
    • Linux/X11
    • fed3e50cb (tqtc/lts-5.15), ac03c58c8 (14.0), 903c0111d (dev), 67c7d6ecf (6.8), 968391b7e (6.7), 435029af3 (dev), 4b066c20a (dev), e7547b231 (6.8), e4bdbb634 (6.7), 1a655fdcf (dev), 3515deb56 (6.8), 6c989105c (6.7), ff10c991c (6.7.3), 3b2dcfa4e (dev)

      Something in a recent version of Qt designer has changed whereby the output for spacers has flipped, and is generating useless objects, I am using Qt creator 13.0.2 (with Qt 6.7.2), I last used Qt creator 12.0.2 (with Qt 6.6.3) which did not have this issue.

       

      This shows the difference in output with 13.0.2, the bottom line is wrong and has flipped the last 2 arguments:

      -    verticalSpacer_4 = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
      +    verticalSpacer_4 = new QSpacerItem(20, 40, QSizePolicy::Expanding, QSizePolicy::Minimum); 

        1. image-2024-07-17-07-09-31-252.png
          13 kB
          Mr nK
        2. image-2024-07-17-07-10-40-723.png
          14 kB
          Mr nK
        3. image-2024-10-10-09-59-37-853.png
          80 kB
          hong carlos
        4. image-2024-10-10-09-59-45-959.png
          80 kB
          hong carlos
        5. image-2024-10-10-10-00-52-517.png
          81 kB
          hong carlos
        6. untitled2_65.ui
          1 kB
          Friedemann Kleint
        7. untitled2.ui
          1 kB
          Jarek Kobus
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            jkobus Jarek Kobus
            thedjnk Mr nK
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes