Details
-
Bug
-
Resolution: Done
-
P2: Important
-
6.2.1
-
None
-
cmake 3.21.3
ninja 1.10.2
-
-
63b8840380e70c1258f56c67a2ec5edb5bdea53d (qt/qtbase/dev) 147877550b25d8733712c33b326cf2157b76957b (qt/qtbase/6.2)
Description
If I change classnames with QML_ELEMENT or remove/add QML_ELEMENT *_qmltyperegistration.cpp does not get updated.
I am not sure if this intended behaviour or not.
Reproduce with the attached example project:
- Build it.
- Check app_qmltyperegistrations.cpp or plugin/plugin_qmltyperegistrations.cpp
- Uncomment QML_ELEMENT in AppType.h or plugin/PluginType.h
- configure and/or Build again, *_qmltyperegistrations.cpp do not change
- run clean
- configure/build
- *_qmltyperegistrations.cpp are updated now
PS: The example does not run, could not figure out why. Not important for the issue I hope.