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

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

      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.

        1. MainForm_NOTWORKING.ui.qml
          0.9 kB
          Mats Lövdahl
        2. MainForm_WORKING.ui.qml
          0.9 kB
          Mats Lövdahl
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes