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

Stefan Seefeld stefan at seefeld.name
Fri Aug 16 14:38:42 CEST 2024


On Fri, Aug 16, 2024 at 8:07 AM Ulf Hermann <ulf.hermann at qt.io> wrote:

> 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).
>

OK. Assuming I'm reckless enough to try, where would I find some hints to
help me in the process ?
(I did try that approach: Adding NO_GENERATE_QMLTYPES to the call seemed to
work at first, but when
I then tried to load the module, I got a missing symbol error for a
`qml_register_types_B()`
function, suggesting
that I indeed also need to write some C++ plugin code and then add that to
my module's compilation. This makes
it sound like in addition to NO_GENERATE_QMLTYPES I may also need
NO_GENERATE_PLUGIN_SOURCE.
So what do I need to provide exactly, in addition to my own qmltypes file,
and where ?

Thanks a lot !
-- 

      ...ich hab' noch einen Koffer in Berlin...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20240816/cb4d233b/attachment.htm>


More information about the Interest mailing list