diff options
| author | Fabian Kosmale <fabian.kosmale@qt.io> | 2025-03-04 13:10:38 +0100 |
|---|---|---|
| committer | Fabian Kosmale <fabian.kosmale@qt.io> | 2025-03-10 17:09:52 +0000 |
| commit | c170381f33f85c23c4f98c3462d3a20c5b1e48f8 (patch) | |
| tree | d60d0b3e4da7b21ba19b82cff39e13eb12ae0bcb /src/gui/opengl/qopenglprogrambinarycache.cpp | |
| parent | d5f00591cd2022d17902e56737d54da036231d30 (diff) | |
moc: Add a hidden option to make QML macro warnings fatal
We don't want to make them fatal by default, as that could break user
projects with identifiers whose name collide with the macros (which is
fine if they don't actually want to use the registration macros).
However, when using qt_add_qml_module, we can assume that anything
looking like a registration macro should actually be one.
Prepare for this by adding a flag which makes the warning fatal,
and which can then be set in qtdeclarative.
Task-number: QTBUG-134148
Change-Id: I3a49968b05d66e4e4ca3a8a2dae1a7b543471c68
Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
Diffstat (limited to 'src/gui/opengl/qopenglprogrambinarycache.cpp')
0 files changed, 0 insertions, 0 deletions
