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

Improve QML iteration speed for shorter build times

    XMLWordPrintable

Details

    Description

      With Qt 6, we have more comprehensive QML tooling and build system support than we had with Qt 5:

      • We automatically generate qmldirs
      • We move files to other places so that tooling can find them in the correct places
      • We automatically run qmlcachegen/qmlsc for better runtime performance

      However, we have now received multiple reports about slow compilation speed and frustrating compilation speeds. This epic is about investigating and improving the situation.

      An initial investigation should focus on:

      • Which steps take the most time? Where are we actually spending time
      • Does the above depend on the used generator?
      • Does the above depend on the operating system?
      • How much of the work we do can be parallelized? Do we have sequential bottlenecks.

      Once the above has been done, we can fix deficiencies, and add knobs to configure trade-offs, like a setting to only run qmlcachegen in release builds.

      Attachments

        Issue Links

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

          Activity

            People

              dima.a Dmitrii Akshintsev
              fabiankosmale Fabian Kosmale
              Vladimir Minenko Vladimir Minenko
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated: