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

[ios] Regression QMake -> CMake: slow build time due to file copying and qmlcachegen

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • P1: Critical
    • None
    • 6.7.0, 6.7.1, 6.8
    • None
    • MacPro
      Qt 6.7.1
      QtCreator 13.0.1
    • iOS/tvOS/watchOS
    • 69254dfc9 (dev), 8d93ef622 (6.8), cdd961efc (dev), e2bb3c171 (dev), 15954ea4e (6.8), 2db05e18f (6.8)

    Description

      Starting with Qt 6.7 I also started with CMake, so I don't know if this slowdown started with 6.7 or before. Compared with QMake I noticed a very slow build time for iOS, if doing

      • Build Clean
      • Build

      In one of my apps (not the largest one) I got these times for Build:

      • CMake - Android - 01:27
      • CMake - iOS - 12:58
      • QMake - iOS - 01.04

      13 Minutes to build - on a Mac Pro ! This slows down my workflow drastically.

      Imagine implementing new features into 10 apps...

      Tried also Qt 6.7.1 Example App 'Coffee':

      • CMake - Android - 00:15
      • CMake - iOS - 01:17

      I timed it and realised that most of the time is spent with

      PhaseScriptExecution...Generate...tooling.build/Script...

      for QML- and RESOURCES- files.

      see log file

       

      later - when building without build clean it varies: 2 or 4 minutes, and sometimes the whole 13 minutes.

       

      Attachments

        1. images.zip
          3.71 MB
        2. ios_slow_build.txt
          3.21 MB
        3. long_build_log.txt
          2.67 MB
        4. my_image_files.cmake
          85 kB
        5. QTBUG-125631-coffee-modified.zip
          8.15 MB

        Issue Links

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

          Activity

            People

              qtbuildsystem Qt Build System Team
              ekkescorner Ekkehard
              Votes:
              3 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews