Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-76025 Specify the QML language and write a QML-to-C++ compiler
  3. QTBUG-101358

Add more fine grained options to control the QML disk cache

    XMLWordPrintable

Details

    • 344f09bb9 (dev)

    Description

      Currently you can use QML_DISABLE_DISK_CACHE and QML_FORCE_DISK_CACHE to switch any "caching" on and off. This affects the run time caching to .qmlc files as well as the loading of AOT-compiled compilation units.

      There are people who really want to use the compiled-in compilation units, but not the caching to .qmlc files. This is important if the file system is constrained in some way.

      There should be a way to control this in a more fine grained way:

      • Use AOT compiled byte code {yes|no}
      • Use AOT compiled C++/machine code {yes|no}
      • Use run time disk cache {yes|no|read only}

      There is also QV4_FORCE_INTERPRETER that disables the AOT compiled C++/machine code as well as the JIT. And there are the JIT options that handle the decision on whether to use the interpreter or the JIT on any byte code loaded or compiled.

      Attachments

        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:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes