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
-
-
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
Issue Links
- relates to
-
QTBUG-126205 CMake build takes 5x as long to build as qmake build
-
- Closed
-
-
QTBUG-128323 Improve QML iteration speed for shorter build times
-
- In Progress
-
For Gerrit Dashboard: QTBUG-125631 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
600868,5 | CMake: Add a global QT_QML_NO_CACHEGEN cmake variable | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
600982,14 | CMake: Improve copying speed for QML sources and resources | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
601369,2 | CMake: Add a global QT_QML_NO_CACHEGEN cmake variable | 6.8 | qt/qtdeclarative | Status: MERGED | +2 | 0 |
604315,3 | CMake: Improve copying speed for QML sources and resources | 6.8 | qt/qtdeclarative | Status: MERGED | -1 | 0 |
604687,2 | CMake: Fix copying qml files in in-source builds | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
604938,3 | CMake: Fix copying qml files in in-source builds | 6.8 | qt/qtdeclarative | Status: MERGED | +2 | +1 |