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

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

      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.

        For Gerrit Dashboard: QTBUG-111042
        # Subject Branch Project Status CR V

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

              Created:
              Updated:
              Resolved: