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

QML Preview doesn't update properly

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • Qt Creator 11.0.0, Qt Creator 12.0.0, Qt Creator 13.0.0-beta1
    • QML Preview
    • None

    Description

      The QML preview does not update properly.

      Observations so far: The preview starts up and properly shows initial content. Later, the preview is re-done when the source changes (visibly by the flickering of the toplevel, but also in the communication) but keeps showing the original content.

      I use a standard "Qt Quick Application" project generated from the wizard and the Main.qml there as test. At the time the preview should update there are three copies of Main.qml around (in the sources, in the build folder, and encoded in some .rcc/*.cpp). There are two visible "Main.qml" nodes in the project tree: the one in the sources and one in the .qrc .

      When changing the source Main.qml, only that changes on disk, the build folder (expectedly) stays at the original content. The qmldebug server asks for  :/untitled31/Mail.qml, and contents is apparently taken from there, /possibly/ due to the presence of the Main.qml node in the resource part of the project tree.

       

      Attachments

        Issue Links

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

          Activity

            People

              ulherman Ulf Hermann
              hjk hjk
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes