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

Wrong "Line" (QFrame) orientation

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.7.0
    • Tools: Designer
    • None
    • macOS
    • 1a655fdcf (dev), 3515deb56 (6.8), 6c989105c (6.7), ff10c991c (6.7.3), 3b2dcfa4e (dev), 9e1d71ca9 (6.8)

    Description

      enum Qt::Vertical changed to Qt::Orientation::Vertical in QtCreator *.ui files leads to wrong generating ui_classname.h file by UIC for the "Line" (QFrame) class. In case UI file has orientation Qt::Orientation::Vertical leads to generate wrong QFrame shape. It should be QFrame::setFrameShape(QFrame::VLine), but always generating with HLine, so always is "Line" QFrame set to Horizontal Line. Problem occur when Qt Creator version >= 14.0 and Qt version < 6.7.2

      Attachments

        1. fileribbon.ui
          21 kB
          Ján Bracho
        2. ui_fileribbon.h
          19 kB
          Ján Bracho
        3. wrong_enum_conversion.png
          389 kB
          Ján Bracho

        Issue Links

          For Gerrit Dashboard: QTBUG-128365
          # Subject Branch Project Status CR V

          Activity

            People

              kleint Friedemann Kleint
              johnyb Ján Bracho
              Votes:
              3 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated: