diff options
| author | Craig Scott <craig.scott@qt.io> | 2021-07-26 11:42:12 +1000 |
|---|---|---|
| committer | Craig Scott <craig.scott@qt.io> | 2021-07-26 20:41:10 +1000 |
| commit | bdcb1d702da3d27b51135e4ecc11f89b74bd96a3 (patch) | |
| tree | f17dd1e0721c6d15539f5e9931b5231899967b8b /src/qml/jsruntime/qv4arraydata.cpp | |
| parent | e624271fd36055bc3237ae7a3d6006cdecb9fd74 (diff) | |
Make CLASS_NAME default match the documentation for qt6_add_qml_plugin
The implementation did not obtain the class name from the backing
target, but it should have. Instead, it was considering an internal
target property on the plugin target itself, if it already existed.
That was a leftover from earlier work where the plugin target may have
been created directly by calling qt_add_plugin(), but it doesn't match
the behavior we document or support. Simplify the implementation and
make it match the documented behavior.
Pick-to: 6.2
Change-Id: Icd9ee1167e189715e8aff57f147734a2476f630c
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'src/qml/jsruntime/qv4arraydata.cpp')
0 files changed, 0 insertions, 0 deletions
