Beginnings of a mobile planner

Rick Walsh rickmwalsh at gmail.com
Thu Jul 13 04:14:08 PDT 2017


Hi,

With one of the greatest features of Subsurface-mobile, downloading from
dive computers becoming a reality (and way beyond my knowledge to be
contributing to the code there), and some spare time in airports and hotel
rooms thanks to working away from home for a few weeks, I thought I'd try
to tackle that other Subsurface feature that's missing from the app.  While
plenty of users will ignore it, it is far beyond a toy or curiosity, and a
powerful mobile dive planner will be very handy to those that want it.

How hard could it be? I asked myself.  The UI side of things is tedious but
actually not too difficult.  I won't say it's a work of art, but it should
be functional.  But now I'm stuck - I haven't managed to work out how to
integrate the Qt models, CylindersModel and DivePlannerPointsModel, with
the QML side of things, and I don't know how to call the code that does the
actual planning.  I understand what the UI does, and I understand the C
code, but the magic in between is lost on me.

I pushed my work to GitHub (thanks Dirk, your 5 line instructions a month
or so ago was far more helpful than any guide I found online), but this
should not go into Master just before a major Subsurface-mobile release.

https://github.com/RickMWalsh/subsurface/tree/mobilePlanner

So, would someone with Qt knowledge be able to take a look and either (a)
let me know how to link the QML and Qt, or (b) do it themselves?  It builds
and runs just fine on the desktop, so no need to create an apk just to test
it.

Thanks,

Rick
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20170713/047b6ba1/attachment.html>


More information about the subsurface mailing list