Details
Description
When my target contains dashes, then qt6_generate_foreign_qml_types generates the filenames with dashes, and subsequently the qmltyperegistrar will emit `#ifndef`-Include-Guards with Dashes in the "Macro" Names.
I worked it around by forking qt6_generate_foreign_qml_types to replace dashes with _-es, but arguably, the bug is in the tool.
Attachments
For Gerrit Dashboard: QTBUG-118902 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
520263,2 | qmltyperegistrar: Guard against forbidden characters in target names | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
521647,3 | qmltyperegistrar: Guard against forbidden characters in target names | 6.6 | qt/qtdeclarative | Status: MERGED | +2 | 0 |
523328,2 | qmltyperegistrar: Guard against forbidden characters in target names | tqtc/lts-6.5 | qt/tqtc-qtdeclarative | Status: MERGED | +2 | 0 |