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

Dirk Hohndel dirk at hohndel.org
Wed Jun 22 09:44:08 PDT 2016


> On Jun 22, 2016, at 9:34 AM, Marco Martin <notmart at gmail.com> wrote:
> 
> This is the latest version:
> We now added a build time switch in kirigami
> to produce a static library (in that case doesn't even need extra-cmake-
> modules so no extra deps)
> 
> the build scripts are updated to link to the generated static library, even 
> tough is pretty ugly cmake, probably it should stop copying over kirigami to a 
> subsurface directory.
> 
> for normal systems and android it should just work, didn't touch the iOS build 
> script as i can't test it, but should be easy to make it "just work" on IOS as 
> well, as it's just statically linking now as opposed to loading a plugin at 
> runtime that as far i understood tends to be a problem there.
> 
> I really want to merge that branch of kirigamy very soon, (i can put a limit 
> on merge around next monday or so) that would make such change in subsurface 
> necessary in order to keep working.

Just merge it. I hate the idea that Subsurface is holding you back.

Subsurface-mobile isn't even creating a working build for iOS right now.
I tried to switch to Qt 5.7.0. The Qt 5.7.0 installer packages for Mac are broken and
you aren't able to build iOS apps. Tried to switch back to Qt 5.6.0 and now my Qt 5.6.0
builds fail on iOS (engine.load("qrc:///qml/main.qml") creates no warnings or errors, but
engine.rootObjects() is empty.

So at this point I'm giving up on iOS. I've never actually released an iOS package, the
current packages on TestFlight are good for a few more weeks. Either by then someone
gets this to work, or I'll call it a failed attempt and move on.

Push whatever you want to change into master and I'll see if I can continue to build
an Android package. If that fails as well I'll just stay on the last Kirigami that worked.

I have no time to spend on this. I'll start a new job next week and will have a LOT less
time to spend on Subsurface overall.

No one else seems to be willing to spend 60+ hours a week on maintaining Subsurface-mobile.

Oh well

/D


More information about the subsurface mailing list