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

Re-configuration of a Qt Quick project takes 6.5x the time as the initial configuration

    XMLWordPrintable

Details

    • macOS

    Description

      Given the AQtQuickApp.zipwhich is just a Qt Creator Qt Quick application that does a:

      foreach(number RANGE 0 500)
          qt_add_executable(appAQtQuickApp${number}
              main.cpp
          )
      
         # ...
      
      endforeach() 

      First configuration:

      [cmake] Elapsed time: 02:17.

      Then change something in the main.qml file and run cmake again:

      [cmake] Elapsed time: 10:17. 

      Then build the project. On my MacBook Pro M3 took:

      [9519/9519 24.9/sec] Linking CXX executable appAQtQuickApp500.app/Contents/MacOS/appAQtQuickApp500
      19:45:12: The command "/Applications/CMake.app/Contents/bin/cmake --build /Users/cristian/Projects/AQtQuickApp/build/Qt_6_9_0_for_macOS-Debug --target all" finished successfully.
      19:45:12: Elapsed time: 06:22. 

      Then change something in the main.qml file and run cmake again:

      [cmake] Elapsed time: 14:57. 

      This has a huge potential of improvement!

      Attachments

        1. AQtQuickApp.zip
          1 kB
        2. configure.log
          136 kB
        3. configure-6.6.3.log
          3 kB
        4. configure-6.7.3.log
          136 kB
        5. configure-6.8.3.log
          136 kB
        6. configure-after-build.zip
          22.92 MB
        7. initial-configure.zip
          22.99 MB
        8. qml_imports.zip
          1 kB
        9. qmlimportscanner_qt_logging_rules.zip
          153 kB
        10. second-configure.zip
          22.94 MB

        Issue Links

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

          Activity

            People

              qtbuildsystem Qt Build System Team
              cadam Cristian Adam
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes