summaryrefslogtreecommitdiffstats
path: root/Source/cmConvertMSBuildXMLToJSON.py
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@qt.io>2020-12-23 13:21:24 (GMT)
committerJoerg Bornemann <joerg.bornemann@qt.io>2021-01-06 19:16:36 (GMT)
commitfefba42e3740bb6a32cda13dfdebf51d414faac7 (patch)
tree44449dd991ae2cde5ea343c42551b96840769328 /Source/cmConvertMSBuildXMLToJSON.py
parent2999c40dd911a59b438bd5f400521ab5007d83d8 (diff)
downloadCMake-fefba42e3740bb6a32cda13dfdebf51d414faac7.zip
CMake-fefba42e3740bb6a32cda13dfdebf51d414faac7.tar.gz
CMake-fefba42e3740bb6a32cda13dfdebf51d414faac7.tar.bz2
Add a failing test case for #21620
Extend Qt(4|5)Autogen.RerunMocBasic to check the following situation: Class MyObject3 is a QObject-derived class without Q_OBJECT macro. It's declared in myobject3.h that is not included by any file that is input of AutoMoc (this is why we had to add PlainObject). If myobject3.h were included by main.cpp, then AutoMoc would already track this dependency, because main.cpp has a Q_OBJECT macro. After the initial build(s), the Q_OBJECT macro is added to myobject3.h, and an incremental build is run. With Qt >= 5.15 and Ninja, the build fails, because AutoMoc is not run due to the missing dependency to myobject3.h.
Diffstat (limited to 'Source/cmConvertMSBuildXMLToJSON.py')
0 files changed, 0 insertions, 0 deletions