Uploaded image for project: 'Qt Design Studio'
  1. Qt Design Studio
  2. QDS-722

Qt Creator in Design mode hangs when qml generates a loop

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • P2: Important
    • None
    • QDS 1.2.0
    • All Other Issues
    • Windows 7 64-bit, Qt 5.5

    Description

      Create Qt Quick Controls Application and alter the MainForm.ui.qml so that it contains a RowLayout which contains a TextField and then a Group Box under the TextField. Example found in MainForm_WORKING.ui.qml.

      Change the anchors so that the TextField and the Groupbox has one common anchor, i.e. anchors.bottom for textField and anchors.top for the Group Box. This works as long as the margins for these anchors are the same. If the value for anchors.topmargin for the goupbox is less than anchors.bottom for the textfield, Qt Creator will hang in a couple of seconds, though not instantly.

      An example which does not work (hangs Creator) can be found in MainForm_NOTWORKING.ui.qml.

      Attachments

        1. MainForm_NOTWORKING.ui.qml
          0.9 kB
          Mats Lövdahl
        2. MainForm_WORKING.ui.qml
          0.9 kB
          Mats Lövdahl

        Issue Links

          Activity

            People

              Unassigned Unassigned
              basswalker Mats Lövdahl
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: