<div dir="ltr"><div><div><div><div><div><div>Hey,<br><br></div>We discussed this on twitter already, but here we go in >140 characters as well ;-).<br><br></div>Making it possible to create QML applications with Mono would be interesting on every platform, not merely Sailfish. Think Android, iOS, desktop. Xamarin costs nontrivial amount of money, so QML + Mono would be a free alternative to that (with somewhat limited capabilities of course).,<br>
<br></div>Better path than QtSharp would be just creating a QML bridge to Mono, i.e. instantiate a QML runtime and make Mono talk with it. Example for this architecture is PyOtherside (<a href="http://thp.io/2011/pyotherside/">http://thp.io/2011/pyotherside/</a>)<br>
<br></div>Sufficient api would be:<br><br></div>- register Mono functions to be callable from QML javascript<br><br></div><div>Analogue: <a href="http://pyotherside.readthedocs.org/en/latest/#call">http://pyotherside.readthedocs.org/en/latest/#call</a><br>
</div><br>- receive "signals" (free form objects) from Mono side<br><div><div><div><div><br>Analogue:  <a href="http://pyotherside.readthedocs.org/en/latest/#received">http://pyotherside.readthedocs.org/en/latest/#received</a><br>
<br></div><div>Another example (though a lot larger) is golang-qml binding: <a href="http://godoc.org/gopkg.in/qml.v1">http://godoc.org/gopkg.in/qml.v1</a><br><br></div><div>Mechanically exposing large parts of Qt's C++ api (including QML engine) like sip, pyside et al are doing is probably going to yield lots of unuseful code, where developers only need 2% subset, but you will pay the price of the bloat and complexity anyway (troubles with PySide are a good example of this). Therefore I think QtSharp is suboptimal approach. <br>
</div><div><br></div><div>Obviously I don't want to act as stop energy, but "look before you leap" so to say.<br></div><div><div><br></div></div></div></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Fri, Aug 22, 2014 at 12:13 AM, Bob Summerwill <span dir="ltr"><<a href="mailto:bob@summerwill.net" target="_blank">bob@summerwill.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div>See <a href="http://www.mobilelinuxnews.com/2014/08/introduction-mono-sailfish-os-jolla/" target="_blank">http://www.mobilelinuxnews.com/2014/08/introduction-mono-sailfish-os-jolla/</a>.<br></div><div>
<br></div><div>I'm happy to announce that development on Mono for Sailfish is underway (<a href="http://monoforsailfish.com" target="_blank">http://monoforsailfish.com</a>).    This is a continuation of MonoTizen (<a href="http://monotizen.com" target="_blank">http://monotizen.com</a>), on which development has been suspended because the Tizen project is broken (see <a href="http://kitsilanosoftware.wordpress.com/2014/08/13/the-tizen-project-is-broken-we-will-be-spending-some-time-apart-3/" target="_blank">http://kitsilanosoftware.wordpress.com/2014/08/13/the-tizen-project-is-broken-we-will-be-spending-some-time-apart-3/</a>).</div>

<div><div><br></div><div>Dimitar Dobrev, the author of <a href="https://github.com/ddobrev/QtSharp" target="_blank">https://github.com/ddobrev/QtSharp</a> has been upstreaming bug-fixes (and addressing newly discovered issues in) to <a href="http://github.com/mono/CppSharp" target="_blank">http://github.com/mono/CppSharp</a>.    He'll be building the bindings, and will probably end up doing the Mono Runtime port as well, based on the fantastic job which Damien Diederen did for the Tizen Mono Runtime.</div>

<div><br></div><div><br></div><div>Cheers,</div><div>Bob Summerwill, Kitsilano Software</div><div><a href="http://twitter.com/bobsummerwill" target="_blank">http://twitter.com/bobsummerwill</a></div><div><a href="http://bobsummerwill.com" target="_blank">http://bobsummerwill.com</a> | <a href="http://kitsilanosoftware.com" target="_blank">http://kitsilanosoftware.com</a> | <a href="http://monoforsailfish.com" target="_blank">http://monoforsailfish.com</a></div>
<span class="HOEnZb"><font color="#888888">
<div><div><br></div>-- <br><a href="mailto:bob@summerwill.net" target="_blank">bob@summerwill.net</a><br><br>
</div></font></span></div></div>
<br>_______________________________________________<br>
SailfishOS.org Devel mailing list<br>
To unsubscribe, please send a mail to <a href="mailto:devel-unsubscribe@lists.sailfishos.org">devel-unsubscribe@lists.sailfishos.org</a><br></blockquote></div><br></div>