[Interest] QML/C++ interaction in Qt6
Ulf Hermann
ulf.hermann at qt.io
Tue Sep 15 15:40:07 CEST 2020
> You can also phrase your modules as C++-only static libraries and
> link them all together into the application. - That will depends on
> which C++ library your modules depends on. Not all code can be
> legally made static, this restriction, seem rather short sighted.
> Hope they change this.
Well, yes, you can _also_ link all those static libraries together into
a dynamic one, but the effect is largely the same.
And, linking some static libraries into your application does not make
the application static. It's just a way of grouping related code and
having separate build system projects for each group. That's what I'm
after as it allows you to declare multiple module URIs per binary.
However, as said before, this functionality still needs some polishing.
best,
Ulf
More information about the Interest
mailing list