Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-12295

Nested QML does not trigger build

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • None
    • Qt Creator 3.0.1
    • Quick / QML Support
    • None
    • Windows 7/64 Ultimate

    Description

      When main.qml contains a second file MyTestRow.qml and then that file contains a nested file ThirdLevel.qml. Making changes to MyTestRow.qml and ThirdLevel.qml does not result in the nested qml files being rebuilt.

      In the attached project I can go to MyTestRow.qml and change the fieldLabel: or the fieldValue: by modifying what's inside the quoted strings and then do a Run but the modified strings won't show up. Also I can go to ThirdLevel.qml and change the console.log message and the updated message will not be output when the field is changed after running.

      Doing a full rebuild of course makes all this work. Also going up to main.qml and "touching" the file will also force the nested qml files to build. The "touch" can be as trivial as adding a space to the end of some line.

      Attachments

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

        Activity

          People

            Unassigned Unassigned
            rolias Tod Gentille
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes