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

Make the asset downloading functionality reusable across examples

    XMLWordPrintable

Details

    • User Story
    • Resolution: Fixed
    • P2: Important
    • None
    • None
    • Examples and Demos
    • None
    • 3
    • QDS Oulu - 2024 Week 9/10, QDS Oulu - 2024 Week 15/16, QDS Oulu - 2024 Week 17/18, QDS Oulu - 2024 Week 19/20, QDS Oulu - 2024 Week 21/22, QDS Oulu - 2024 Week 23/24, QDS Oulu - 2024 Week 25/26, QDS Oulu - 2024 Week 27/28
    • cbb2493cf (dev), 98ecccba8 (6.8), 78de81e28 (dev), 6dff842b2 (dev), d0a58028d (dev), 1603373bc (6.8), 355f68bc4 (6.8), 428521686 (6.8), 8acfff522 (dev), 7e4baa8c6 (6.8)

    Description

      The Car Configurator demo implements an AssetDownloader class that allows the example to fetch large 3D assets from online storage. This helps with keeping the size of our packages small, and also allows us to update such assets independent of Qt releases.

      Making this functionality generally available to examples would be very useful, as both 2D and 3D assets are becoming increasingly important for many of our examples.

      We should move the AssetDownloader into a library (could be a static library) that can be reused by different examples, with a small API to allow for basic configuration.

      Ideally, the AssetDownloader can be available to examples that don't depend on anything else than qtbase; it's currently registered as a QML type, but otherwise has no dependencies outside of QtCore and QtNetwork, so having the QML type as a very thin wrapper in a QML module should be possible.

      Attachments

        Issue Links

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

          Activity

            People

              ali.kianian Ali Kianian
              vhilshei Volker Hilsheimer
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: