[Interest] Refusing to generate non-lowercase name "A" for unknown foreign type

Ulf Hermann ulf.hermann at qt.io
Fri Aug 16 14:07:21 CEST 2024


You can indeed write your .qmltypes files manually and then pass 
NO_GENERATE_QMLTYPES to prevent them from getting generated. However, 
this is not for the faint of heart (hence the "NO" prefix).

You can probably also build the "A" library yourself, retrieve the 
metatypes.json file from that, and install it in the place where the 
build system is looking for it when using the system library. I guess 
that would be less fiddly than writing the whole thing manually.

best,
Ulf


More information about the Interest mailing list