Details
-
Bug
-
Resolution: Fixed
-
P1: Critical
-
6.4.2, 6.4.3
-
None
-
-
fb4cc245e (dev), 79f625b6b (6.6), 3d2418b74 (6.5)
Description
Some cpp files in the QmlCache are always generated slightly different. When using compiler cache (e.g. ccache) this forces the compiler to run which causes quite some overhead in our ci builds.
I've attached an example project with one Qml file included in a static qt module. For every cmake run the cpp file in the QmlCache is generated with a different order of variables:
Steps to reproduce:
- Run cmake on the example project and build the project.
- Save the content of 'cmake-build-debug/.rcc/qmlcache/QmlCacheProblem_qml'
- Delete the build folder, rerun cmake and the build
- Compare the content of 'cmake-build-debug/.rcc/qmlcache/QmlCacheProblem_qml'
Attachments
Issue Links
- is duplicated by
-
QTBUG-121643 qt6-declarative: possible build-time race condition around qmlcachegen
- Closed