Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-33191

Freeze when reconfiguring CMake project

XMLWordPrintable

    • macOS
    • 579d32d57 (17.0)

      So there is this Qt Creator freeze when reconfiguring a CMake project that has already be existing for the few past Qt Creator versions.

      Reproducer:

      • clone a big project, I use qt here
      • open it in Qt Creator
      • build the project once, I built the qtdeclarative_src target
      • modify a .cmake file: I add a newline to qt/qtdeclarative/src/qml/Qt6QmlMacros.cmake
      • build the project
      • in the Compile Output pane, wait until CMake is done regenerating the project
      • now Qt Creator starts freezing for a few seconds

      The freeze happens inside some macos library at FSEvents`FSEventStreamFlushSync, see attached stacktrace, inside of "thread 1" (which is the GUI thread).

      I also have a screenshot from the profiler, where you can see that FSEventStreamFlushSync uses 12.54 seconds from the captured 15 seconds inside the GUI thread (called Main Thread in the screenshot):

      I am using an arm macbook, with macos 15.5.

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

            cadam Cristian Adam
            sami.shalayel Sami Shalayel
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes