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

Automatically bundle an asset files list, to avoid slow directories listing

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Done
    • P2: Important
    • 5.3.0
    • 5.1.1
    • QPA
    • None
    • Android
    • f0480e03d8510e6f4b0baafe1a4f922d8de96140 (qttools), b79e73476771c068098270ebc26fb1e015f0e149 (qtbase)

    Description

      Listing directories or using QFileInfo on android is really slow on assets directories. Something like:

      QFileInfo("assets:/a_dir")

      takes more than 300ms on my Sony Xperia J.

      I suggest to let the build system automatically bundles a file containing the list of all the assets, and then at runtime using this file to avoid making slow android system calls.

      Attachments

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

        Activity

          People

            esabraha Eskil Abrahamsen Blomfeldt
            guillaumec Guillaume Chereau
            Votes:
            2 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes