<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Dec 27, 2016 at 6:45 PM, Marco Martin <span dir="ltr"><<a href="mailto:notmart@gmail.com" target="_blank">notmart@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Tuesday 27 December 2016, Tomaz Canabrava wrote:<br>
> Hello good people,<br>
><br>
> I started to port Subsurface to kirigami2 and I found some issues that are<br>
> interesting.<br>
><br>
> If I try to run subsurface while plasma is not running, it works,<br>
> if I try to run subsurface while plasma is running, it doesnt.<br>
><br>
> It seems that we hit a issue by using kirigami as a Static library while<br>
> having the KDE library already loaded in memory.<br>
><br>
> Full error:<br>
><br>
> qrc:///qml/main.qml:9 plugin cannot be loaded for module<br>
> "org.kde.kirigami": Namespace 'org.kde.kirigami' has already been used for<br>
> type registration<br>
<br>
</span>just a feeling...<br>
may be that it tries to *both* use the static library, but for some reason<br>
still tries to load the normal plugin again? (so, rerun a qqmlregistertype or<br>
the same types)<br></blockquote><div><br></div><div>could be, but this raises issues:<br></div><div>If I create an app bundle that has kirigami, but the kirigami library is in QT_LIBRARY_PATH, both will load.<br></div><div>how one can fix that?<br><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Marco Martin<br>
</font></span></blockquote></div><br></div></div>