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

QML loads stale .qmlc for QML files loaded from assets:// on Android

    XMLWordPrintable

Details

    • e7d19a2a0fcbec38b7e132634d0ebe79b772c61b (qt/qtdeclarative/5.12)

    Description

      For various reasons we load our QML files into the assets filesystem instead of qrc on Android. After the app is executed for the first time, it generates cached qmlc files. The cache is not cleared when the app is updated. The updated app loads cached qmlc files even if the source qml files have changed.

      It seems that timestamp checking does not work with Android assets, and the dependency checksum verification also doesn't catch this case.

      Attachments

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

        Activity

          People

            shausman Simon Hausmann
            anszom Andrzej Szombierski
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes