<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    show content of desktop file, main.cpp and spec/yaml also, but it
    will better to see at whole project tree on github or so, if your
    application is opensource.<br>
    <br>
    <div class="moz-cite-prefix">15.03.2015 00:58, Peter Pykäläinen
      пишет:<br>
    </div>
    <blockquote
cite="mid:CAAE-zEyCoFyL_aKKk0TiezEsZdiRJ+oD0+gR6EgKX-U8nDmKxg@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div>
          <div>Hi,<br>
            <br>
          </div>
          the app is pure QML app, nothing to it.<br>
        </div>
        Main QML is like this:<br>
        <br>
        <span style="color:rgb(128,128,0)">import</span><span
          style="color:rgb(192,192,192)"> </span>QtQuick<span
          style="color:rgb(192,192,192)"> </span>2.0
        <pre style="margin:0px;text-indent:0px"><span style="color:rgb(128,128,0)">import</span><span style="color:rgb(192,192,192)"> </span>Sailfish.Silica<span style="color:rgb(192,192,192)"> </span>1.0</pre>
        <pre style="margin:0px;text-indent:0px"><span style="color:rgb(128,128,0)">import</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(0,128,0)">"pages"</span></pre>
        <pre style="margin:0px;text-indent:0px">
</pre>
        <pre style="margin:0px;text-indent:0px"><span style="color:rgb(128,0,128)">ApplicationWindow</span></pre>
        <pre style="margin:0px;text-indent:0px">{</pre>
        <pre style="margin:0px;text-indent:0px"><span style="color:rgb(192,192,192)">    </span><span style="color:rgb(128,128,0)">property</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(128,128,0)">bool</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(128,0,0)">isScramble</span>:<span style="color:rgb(192,192,192)"> </span>false;</pre>
        <pre style="margin:0px;text-indent:0px"><span style="color:rgb(192,192,192)">    </span><span style="color:rgb(128,128,0)">property</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(128,128,0)">bool</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(128,0,0)">isGameOn</span>:<span style="color:rgb(192,192,192)"> </span>false;</pre>
        <pre style="margin:0px;text-indent:0px"><span style="color:rgb(192,192,192)">    </span><span style="color:rgb(128,128,0)">property</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(128,128,0)">bool</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(128,0,0)">isMuted</span>:<span style="color:rgb(192,192,192)"> </span>false</pre>
        <pre style="margin:0px;text-indent:0px"><span style="color:rgb(192,192,192)">    </span><span style="color:rgb(128,128,0)">property</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(128,128,0)">int</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(128,0,0)">score</span>:<span style="color:rgb(192,192,192)"> </span>0;</pre>
        <pre style="margin:0px;text-indent:0px"><span style="color:rgb(192,192,192)">    </span><span style="color:rgb(128,128,0)">property</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(128,128,0)">int</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(128,0,0)">hexCount</span>:<span style="color:rgb(192,192,192)"> </span>0</pre>
        <pre style="margin:0px;text-indent:0px">
</pre>
        <pre style="margin:0px;text-indent:0px"><span style="color:rgb(192,192,192)">    </span><span style="color:rgb(128,0,0)">initialPage</span>:<span style="color:rgb(192,192,192)"> </span><span style="color:rgb(128,0,128)">Component</span><span style="color:rgb(192,192,192)"> </span>{<span style="color:rgb(192,192,192)"> </span><span style="color:rgb(128,0,128)">Game</span><span style="color:rgb(192,192,192)"> </span>{<span style="color:rgb(192,192,192)"> </span>}<span style="color:rgb(192,192,192)"> </span>}</pre>
        <pre style="margin:0px;text-indent:0px"><span style="color:rgb(192,192,192)">    </span><span style="color:rgb(128,0,0)">cover</span>:<span style="color:rgb(192,192,192)"> </span><span style="font-style:italic;color:rgb(0,85,175)">Qt</span>.resolvedUrl(<span style="color:rgb(0,128,0)">"cover/CoverPage.qml"</span>)</pre>
        <pre style="margin:0px;text-indent:0px">}</pre>
        <pre style="margin:0px;text-indent:0px">
</pre>
        <pre style="margin:0px;text-indent:0px">I have the same kind of setup in every other app that I've done, and they work just fine.
</pre>
        <br>
      </div>
      <div class="gmail_extra"><br clear="all">
        <div>
          <div class="gmail_signature"><br>
            // Peter Pykäläinen</div>
        </div>
        <br>
        <div class="gmail_quote">On 14 March 2015 at 21:34, Andrey
          Kozhevnikov <span dir="ltr"><<a moz-do-not-send="true"
              href="mailto:coderusinbox@gmail.com" target="_blank">coderusinbox@gmail.com</a>></span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div bgcolor="#FFFFFF" text="#000000"> Hello,<br>
              <br>
              You know, if you want to get help you need to show at
              least something and give more details about your
              application :)<br>
              <br>
              <div>15.03.2015 00:11, Peter Pykäläinen пишет:<br>
              </div>
              <blockquote type="cite">
                <div>
                  <div class="h5">
                    <div dir="ltr">
                      <div>
                        <div>
                          <div>
                            <div>Hi,<br>
                              <br>
                            </div>
                            I have a strange problem.<br>
                          </div>
                          I am developing an app and it works fine when
                          launched from QtCreator or terminal.<br>
                        </div>
                        But when trying to launch it by tapping the app
                        icon, it starts, stays on the loading screen and
                        then after a while dies.<br>
                        <br>
                      </div>
                      Anyone else had similar issues?<br clear="all">
                      <div>
                        <div>
                          <div>
                            <div>
                              <div>
                                <div>
                                  <div><br>
                                    // Peter Pykäläinen</div>
                                </div>
                              </div>
                            </div>
                          </div>
                        </div>
                      </div>
                    </div>
                    <br>
                    <fieldset></fieldset>
                    <br>
                  </div>
                </div>
                <pre>_______________________________________________
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to <a moz-do-not-send="true" href="mailto:devel-unsubscribe@lists.sailfishos.org" target="_blank">devel-unsubscribe@lists.sailfishos.org</a></pre>
              </blockquote>
              <br>
            </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>