<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"><br></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"><br></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"><br></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.<br></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 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 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 href="mailto:devel-unsubscribe@lists.sailfishos.org">devel-unsubscribe@lists.sailfishos.org</a><br></blockquote></div><br></div>