Details
-
Bug
-
Resolution: Fixed
-
Not Evaluated
-
Qt Creator 15.0.0
-
None
-
fc32f1523 (15.0)
Description
I build Qt using a script on the command line and then open a module like qtdeclarative to do my work. After opening qtdeclarative, Creator almost always rebuilds most of the module when hitting Build. What I'd expect is that there is no work to be done, since I've just built it.
Sometimes, but rarely, importing a build will work as expected, with no work to do.
This happens on Linux, Mac and Windows.
Attached are three CMakeCache.txts from the different ways of building qtdeclarative on Ubuntu 22.04:
- qtdeclarative-cmd-line-CMakeCache.txt
- qtdeclarative-creator-CMakeCache.txt
- qtdeclarative-creator-import-CMakeCache.txt
Both of the Creator builds (regular opening and importing) resulted in ~2000 out of the original ~3000 build steps being re-done.
I've also attached screenshots of the Qt version and kit:
Attachments
For Gerrit Dashboard: QTCREATORBUG-32196 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
612285,3 | CMakePM: Only set CMAKE_COLOR_DIAGNOSTICS for new projects | 15.0 | qt-creator/qt-creator | Status: MERGED | +2 | +1 |