Kirigami2 issues on static libraries.

Tomaz Canabrava tcanabrava at kde.org
Wed Dec 28 12:48:24 UTC 2016


On Tue, Dec 27, 2016 at 6:45 PM, Marco Martin <notmart at gmail.com> wrote:

> On Tuesday 27 December 2016, Tomaz Canabrava wrote:
> > Hello good people,
> >
> > I started to port Subsurface to kirigami2 and I found some issues that
> are
> > interesting.
> >
> > If I try to run subsurface while plasma is not running, it works,
> > if I try to run subsurface while plasma is running, it doesnt.
> >
> > It seems that we hit a issue by using kirigami as a Static library while
> > having the KDE library already loaded in memory.
> >
> > Full error:
> >
> > qrc:///qml/main.qml:9 plugin cannot be loaded for module
> > "org.kde.kirigami": Namespace 'org.kde.kirigami' has already been used
> for
> > type registration
>
> just a feeling...
> may be that it tries to *both* use the static library, but for some reason
> still tries to load the normal plugin again? (so, rerun a qqmlregistertype
> or
> the same types)
>

could be, but this raises issues:
If I create an app bundle that has kirigami, but the kirigami library is in
QT_LIBRARY_PATH, both will load.
how one can fix that?


> --
> Marco Martin
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20161228/300b5575/attachment.html>


More information about the Plasma-devel mailing list