Details
-
Bug
-
Resolution: Done
-
P2: Important
-
6.2.0 Beta2
-
None
Description
We are using qt_add_qml_module for Qt Creator's QML based profilers (QML profiler, perf profiler, ctf visualizer) since recently.
Since these are plugins, so libraries and not executables, qt_add_qml_module / qt6_extract_metatypes unconditionally installs the metatypes.json files for them, in a directory that is based on the Qt installation layout.
Since we don't intend these libraries to be extended, we do not want these files to be installed.
Even worse, on macOS the metatype files are installed to "<install>/lib/" which is completely against our installation layout for Qt Creator, which installs everything into "<install>/Qt Creator.app/" since we provide a standalone application.
Please provide an option to override this behavior of qt_add_qml_module / qt6_extract_metatypes .