[PATCH] WIP: use kirigami plugin instead of embedding in qrc

Marco Martin notmart at gmail.com
Thu May 5 08:27:08 PDT 2016


Hi all,
at this point it's being a bit of a problem for me not being able to
add any C++ part in kirigami, since i cannot do a qml plugin (or
subsurface would break)
We included it as qrc resources in the beginning in order to make
something that worked quickly, but in the end it should be a normal
plugin on every platform.
This patch does that for android, it should also make things a bit
simpler, as removes the burden of maintaining the list of resources
updated.

It's *NOT* ready yet tough, for two reasons:
it needs also a patch in the cmake file used to deploy
https://github.com/LaurentGomila/qt-android-cmake/pull/8
so it depends on that being merged.

And it's only for Android so far, so this would break the iOS version.
I don't have iDevices so i don't know exactly what should be done, but
the procedure should be similar, building the kirigami repo
separatedly then install it somewhere to then get packaged with the
installed files ending up in the same location where the qt imports
from qt itself end up.

on windows/osx shouldn't be an issue as afaik only the desktop version
is build there

--
Marco Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Use-the-proper-QML-plugin-for-kirigami.patch
Type: text/x-patch
Size: 8655 bytes
Desc: not available
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20160505/e08e8e1e/attachment-0001.bin>


More information about the subsurface mailing list