Details
-
Bug
-
Resolution: Unresolved
-
Not Evaluated
-
None
-
Qt Creator 17.0.0
-
None
Description
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.
Attachments
Issue Links
- relates to
-
QTCREATORBUG-32209 QtCreator 15 freezes with QML on Windows
-
- Closed
-
- resulted in
-
QTBUG-138374 QFileSystemWatcher::addPath() is slow on macos
-
- Open
-
Gerrit Reviews
For Gerrit Dashboard: QTCREATORBUG-33191 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
647906,5 | CMakePM: Replace FileSystemWatcher with FilePathWatcher | 17.0 | qt-creator/qt-creator | Status: NEW | 0 | +1 |