diff options
author | Joerg Bornemann <joerg.bornemann@qt.io> | 2020-12-22 09:53:56 (GMT) |
---|---|---|
committer | Joerg Bornemann <joerg.bornemann@qt.io> | 2021-01-06 19:17:20 (GMT) |
commit | 8cb8dd6da5552d81983c93b0cc69facac6c7b236 (patch) | |
tree | 3e130fe16beca6eb6ee1bbcb00979a7594aa5320 /Source/cmConvertMSBuildXMLToJSON.py | |
parent | fefba42e3740bb6a32cda13dfdebf51d414faac7 (diff) | |
download | CMake-8cb8dd6da5552d81983c93b0cc69facac6c7b236.zip CMake-8cb8dd6da5552d81983c93b0cc69facac6c7b236.tar.gz CMake-8cb8dd6da5552d81983c93b0cc69facac6c7b236.tar.bz2 |
AutoMoc: Re-run after adding Q_OBJECT macro
Consider a Qt project with a header file that does not contain the
Q_OBJECT macro. Adding the Q_OBJECT macro is supposed to trigger a run
of moc.
When using Qt >= 5.15 and the Ninja generator, re-running AutoMoc is
controlled by the contents of a Ninja depfile. In the situation above,
AutoMoc would not re-run, because the header/source files without
Q_OBJECT macro are not contained in the depfile.
Add the relevant source files of the project to the merged depfile to
re-run AutoMoc whenever a source file changes.
Fixes: #21620
Diffstat (limited to 'Source/cmConvertMSBuildXMLToJSON.py')
0 files changed, 0 insertions, 0 deletions