diff options
| author | Joerg Bornemann <joerg.bornemann@qt.io> | 2024-01-02 17:13:33 +0100 |
|---|---|---|
| committer | Joerg Bornemann <joerg.bornemann@qt.io> | 2024-01-16 00:35:39 +0100 |
| commit | db9009721a11f482b601a228eb6d0e1658d997b0 (patch) | |
| tree | 699cc6fabc038e331b19c51d9c33b7863829c2bf /src/gui/doc/snippets/code | |
| parent | 43ce457cbd093fc06d99b5ac833c789ef7c893d5 (diff) | |
CMake: Fix *-metatypes.json creation for all makefile generators
When using one of the non-Unix makefile generators ("NMake Makfiles JOM"
or "MinGW Makefiles") then it possible to trigger an error when running
qmltyperegistrar: ..._metatypes.json: illegal value
We create the metatypes JSON file initially empty and then "fill" it
with a custom command. This command is not triggered when using Makefile
generators. See CMake upstream issue #19005.
Our work-around for that issue was only triggered for the generator
"Unix Makefiles". Now, it's triggered for all makefile generators.
Fixes: QTBUG-120317
Change-Id: I329cb0d3e9ba0997d618821e7bcbc20284561419
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'src/gui/doc/snippets/code')
0 files changed, 0 insertions, 0 deletions
