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

QML cache files are re-generated all the time when they contain inline components

    XMLWordPrintable

Details

    • 131db085a (dev), c7ba310e6 (6.5), 0c4795139 (6.5.0)

    Description

      Consider:

      import QtQuick
      
      QtObject {
          component MyColorLabel: QtObject {
            property color color: "red"
          }
      
          property QtObject a: MyColorLabel {}
      }
      

      Run this with the qt.qml.diskcache logging category's debug level enabled and you will see that the cache is re-generated every time this component is loaded.

      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
              ulherman Ulf Hermann
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: