[Interest] Qt 6.5.2 and qmllint questions/issues
Ulf Hermann
ulf.hermann at qt.io
Thu Aug 31 17:42:09 CEST 2023
> I was not going to add them to jsroot.qmltypes. I was wondering if there
> was a mechanism to extend what is defined in jsroot.qmltypes.
That is pretty much the same thing. jsroot.qmltypes represents the
JavaScript global object. Since all of this is pure JavaScript, we can
generally not say much about the types involved. However, since the
JavaScript global object is supposed to be immutable in a QQmlEngine (I
wonder how you managed to add something to it, btw), we actually _know_
what is in there because we know the precise implementation in the
engine's internals. Once you start adding something there, we don't know
anything about the types anymore. So, don't.
best regards,
Ulf Hermann
More information about the Interest
mailing list