- 
    Bug 
- 
    Resolution: Done
- 
    P2: Important 
- 
    Qt Creator 4.3.0
- 
    None
- 
    Kubuntu 16.04, CMake 3.8.1, ninja 1.5.1
- 
        f6c276daf03c59326bdf1fec3a44c48307912fae (qt-creator/qt-creator/4.9)
I have a big project that uses CMake and ninja for the build system. When QtC retrieves information about project, it hangs for a several minutes: UI not responsive. It happens on project opening, after build etc.
Profiling with callgrind I see, that some work done in the Utils::AbstractMacroExpander::expandNestedMacros.
I attached the callgrind log.
- is duplicated by
- 
                    QTCREATORBUG-18882 Macro Expansion causes stack clobbering -           
- Closed
 
-         
- 
                    QTCREATORBUG-19019 Crash when setting Working Directory to %{CurrentRun:Executable:Path} -           
- Closed
 
-         
- 
                    QTCREATORBUG-19347 Setting run configuration working directory to %{CurrentRun:Executable:Path} crashes when running -         
- Closed
 
-         
- replaces
- 
                    QTCREATORBUG-18463 Crash when loading project with run config with custom executable -           
- Closed
 
-         
| For Gerrit Dashboard: QTCREATORBUG-18317 | ||||||
|---|---|---|---|---|---|---|
| # | Subject | Branch | Project | Status | CR | V | 
| 196798,2 | MacroExpander: Prevent loop with value resolution | master | qt-creator/qt-creator | Status: ABANDONED | 0 | 0 | 
| 196800,2 | MacroExpander: Prevent loop with value resolution | 4.3 | qt-creator/qt-creator | Status: ABANDONED | 0 | 0 | 
| 254513,2 | Macro expander: Do not use RunConfiguration::runnable() | 4.9 | qt-creator/qt-creator | Status: MERGED | +2 | 0 |