<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hey2,<br>
    <br>
    I've been playing with this myself a bit, but have not gotten too
    far, summer weather, travels and all. What Ville is suggesting is
    exactly what I'm after - not a full binding set, but just a UI
    bridge. In API rich environments like python/.net/etc the
    "application framework" API parts of Qt don't mean much (and their
    existence/quality varies depending on platform anyway). Mono (and
    even Xamarin) falls a bit short on the UI side, and a good
    QML/QtQuick bridge would help a whole lot. And before someone gets
    the wrong idea - this is still not about having a single QML
    codebase, but rather having a "common language" for UIs powered by
    whatever is the best tech choice on the given platform (QtQuick,
    Silica, QML components wrapping native APIs, you name it).<br>
    <br>
    Best regards<br>
    Attila Csipa<br>
    <br>
    <div class="moz-cite-prefix">On 8/22/2014 11:12 AM, Ville M. Vainio
      wrote:<br>
    </div>
    <blockquote
cite="mid:CAPuzRuP9jKqQsG5oaMp-90OCXe+_kqJuS2qaJzwdnB3NSowQLQ@mail.gmail.com"
      type="cite">
      <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 moz-do-not-send="true"
                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 moz-do-not-send="true"
            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 moz-do-not-send="true"
                  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 moz-do-not-send="true"
                  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 moz-do-not-send="true"
              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 moz-do-not-send="true"
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 moz-do-not-send="true"
                  href="http://monoforsailfish.com" target="_blank">http://monoforsailfish.com</a>).
                   This is a continuation of MonoTizen (<a
                  moz-do-not-send="true" href="http://monotizen.com"
                  target="_blank">http://monotizen.com</a>), on which
                development has been suspended because the Tizen project
                is broken (see <a moz-do-not-send="true"
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
                    moz-do-not-send="true"
                    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 moz-do-not-send="true"
                    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 moz-do-not-send="true"
                    href="http://twitter.com/bobsummerwill"
                    target="_blank">http://twitter.com/bobsummerwill</a></div>
                <div><a moz-do-not-send="true"
                    href="http://bobsummerwill.com" target="_blank">http://bobsummerwill.com</a>
                  | <a moz-do-not-send="true"
                    href="http://kitsilanosoftware.com" target="_blank">http://kitsilanosoftware.com</a>
                  | <a moz-do-not-send="true"
                    href="http://monoforsailfish.com" target="_blank">http://monoforsailfish.com</a></div>
                <span class="HOEnZb"><font color="#888888">
                    <div>
                      <div><br>
                      </div>
                      -- <br>
                      <a moz-do-not-send="true"
                        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
              moz-do-not-send="true"
              href="mailto:devel-unsubscribe@lists.sailfishos.org">devel-unsubscribe@lists.sailfishos.org</a><br>
          </blockquote>
        </div>
        <br>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to <a class="moz-txt-link-abbreviated" href="mailto:devel-unsubscribe@lists.sailfishos.org">devel-unsubscribe@lists.sailfishos.org</a></pre>
    </blockquote>
    <br>
  </body>
</html>