On Tue, Dec 27, 2016 at 6:45 PM, Marco Martin <notm...@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 >