<div dir="ltr">Well that did it, thank you.<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 22:55, Peter Pykäläinen <span dir="ltr"><<a href="mailto:peter.pykalainen@gmail.com" target="_blank">peter.pykalainen@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 dir="ltr"><div>How do I do that?<br></div>Could you please send me the command?<span class="HOEnZb"><font color="#888888"><br></font></span></div><div class="gmail_extra"><span class="HOEnZb"><font color="#888888"><br clear="all"><div><div><br>// Peter Pykäläinen</div></div></font></span><div><div class="h5">
<br><div class="gmail_quote">On 14 March 2015 at 22:30, 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">
    you can try to restart lipstick only<br>
    <br>
    <div>15.03.2015 01:28, Peter Pykäläinen
      пишет:<br>
    </div>
    <blockquote type="cite"><span>
      <div dir="ltr">
        <div>Yeah, that's what I thought too :)<br>
        </div>
        Just too keen on my uptime!<br>
      </div>
      </span><div class="gmail_extra"><br clear="all">
        <div>
          <div><br>
            // Peter Pykäläinen</div>
        </div>
        <br>
        <div class="gmail_quote"><span>On 14 March 2015 at 22:23, Andrey
          Kozhevnikov <span dir="ltr"><<a href="mailto:coderusinbox@gmail.com" target="_blank">coderusinbox@gmail.com</a>></span>
          wrote:<br>
          </span><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div bgcolor="#FFFFFF" text="#000000"><span> Looks okay, ... if
              pro file did not touched also, your phone probably needs a
              reboot :)<br>
              <br>
              <div>15.03.2015 01:18, Peter Pykäläinen пишет:<br>
              </div>
              </span><blockquote type="cite">
                <div dir="ltr"><span><span>This is the desktop file:<br>
                    <span style="color:rgb(128,128,0)"><br>
                      [Desktop</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(128,128,0)">Entry]</span>
                    <pre style="margin:0px;text-indent:0px"><span style="color:rgb(128,0,128)">Type</span>=Application</pre>
                    <pre style="margin:0px;text-indent:0px"><span style="color:rgb(128,0,128)">X-Nemo-Application-Type</span>=silica-qt5</pre>
                    <pre style="margin:0px;text-indent:0px"><span style="color:rgb(128,0,128)">Icon</span>=harbour-hextrap</pre>
                    <pre style="margin:0px;text-indent:0px"><span style="color:rgb(128,0,128)">Exec</span>=harbour-hextrap</pre>
                    <pre style="margin:0px;text-indent:0px"><span style="color:rgb(128,0,128)">Name</span>=Hex<span style="color:rgb(192,192,192)"> </span>Trap</pre>
                    <pre style="margin:0px;text-indent:0px"><span style="color:rgb(0,128,0)">#</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(0,128,0)">translation</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(0,128,0)">example:</span></pre>
                    <pre style="margin:0px;text-indent:0px"><span style="color:rgb(0,128,0)">#</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(0,128,0)">your</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(0,128,0)">app</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(0,128,0)">name</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(0,128,0)">in</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(0,128,0)">German</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(0,128,0)">locale</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(0,128,0)">(de)</span></pre>
                    <pre style="margin:0px;text-indent:0px"><span style="color:rgb(128,0,128)">Name</span><span style="font-weight:600;color:rgb(0,0,128)">[de]</span>=harbour-hextrap

</pre>
                  </span>
                  </span><pre style="margin:0px;text-indent:0px"><span><span>This is the main.cpp:

<span style="color:rgb(0,0,128)">#include</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(0,128,0)"><sailfishapp.h></span>




<span style="color:rgb(128,128,0)">int</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(0,0,0)">main</span><span style="color:rgb(0,0,0)">(</span><span style="color:rgb(128,128,0)">int</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(0,0,0)">argc</span><span style="color:rgb(0,0,0)">,</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(128,128,0)">char</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(0,0,0)">*</span><span style="color:rgb(0,0,0)">argv</span><span style="color:rgb(0,0,0)">[])</span>
<span style="color:rgb(0,0,0)">{</span>
<span style="color:rgb(192,192,192)">    </span><span style="color:rgb(0,128,0)">//</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(0,128,0)">SailfishApp::main()</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(0,128,0)">will</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(0,128,0)">display</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(0,128,0)">"qml/template.qml",</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(0,128,0)">if</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(0,128,0)">you</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(0,128,0)">need</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(0,128,0)">more</span>
<span style="color:rgb(192,192,192)">    </span><span style="color:rgb(0,128,0)">//</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(0,128,0)">control</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(0,128,0)">over</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(0,128,0)">initialization,</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(0,128,0)">you</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(0,128,0)">can</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(0,128,0)">use:</span>
<span style="color:rgb(192,192,192)">    </span><span style="color:rgb(0,128,0)">//</span>
<span style="color:rgb(192,192,192)">    </span><span style="color:rgb(0,128,0)">//</span><span style="color:rgb(192,192,192)">   </span><span style="color:rgb(0,128,0)">-</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(0,128,0)">SailfishApp::application(int,</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(0,128,0)">char</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(0,128,0)">*[])</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(0,128,0)">to</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(0,128,0)">get</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(0,128,0)">the</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(0,128,0)">QGuiApplication</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(0,128,0)">*</span>
<span style="color:rgb(192,192,192)">    </span><span style="color:rgb(0,128,0)">//</span><span style="color:rgb(192,192,192)">   </span><span style="color:rgb(0,128,0)">-</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(0,128,0)">SailfishApp::createView()</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(0,128,0)">to</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(0,128,0)">get</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(0,128,0)">a</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(0,128,0)">new</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(0,128,0)">QQuickView</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(0,128,0)">*</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(0,128,0)">instance</span>
</span><span style="color:rgb(192,192,192)">    </span><span style="color:rgb(0,128,0)">//</span><span style="color:rgb(192,192,192)">   </span><span style="color:rgb(0,128,0)">-</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(0,128,0)">SailfishApp::pathTo(QString)</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(0,128,0)">to</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(0,128,0)">get</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(0,128,0)">a</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(0,128,0)">QUrl</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(0,128,0)">to</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(0,128,0)">a</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(0,128,0)">resource</span><span style="color:rgb(192,192,192)"> </span></span><span style="color:rgb(0,128,0)">file&lt
;
 /span>
<div><div><div><div><span style="color:rgb(192,192,192)">    </span><span style="color:rgb(0,128,0)">//</span>
<span style="color:rgb(192,192,192)">    </span><span style="color:rgb(0,128,0)">//</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(0,128,0)">To</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(0,128,0)">display</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(0,128,0)">the</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(0,128,0)">view,</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(0,128,0)">call</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(0,128,0)">"show()"</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(0,128,0)">(will</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(0,128,0)">show</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(0,128,0)">fullscreen</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(0,128,0)">on</span>
 <span> </span><span style="color:rgb(0,128,0)">device).</span>


<span style="color:rgb(192,192,192)">    </span><span style="color:rgb(128,128,0)">return</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(128,0,128)">SailfishApp</span><span style="color:rgb(0,0,0)">::</span><span style="color:rgb(0,0,0)">main</span><span style="color:rgb(0,0,0)">(</span><span style="color:rgb(0,0,0)">argc</span><span style="color:rgb(0,0,0)">,</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(0,0,0)">argv</span><span style="color:rgb(0,0,0)">);</span>
<span style="color:rgb(0,0,0)">}</span>

</div></div></div></div></span></pre><div><div>
                  <div>
                    <div>
                      <pre style="margin:0px;text-indent:0px">spec and yaml -files I have not touched, they are in their defaults.

</pre>
                      <pre style="margin:0px;text-indent:0px">Sorry this app is not it github 
</pre>
                      <br>
                    </div>
                  </div>
                </div></div></div><div><div>
                <div>
                  <div>
                    <div class="gmail_extra"><br clear="all">
                      <div>
                        <div><br>
                          // Peter Pykäläinen</div>
                      </div>
                      <br>
                      <div class="gmail_quote">On 14 March 2015 at
                        22:03, 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"> 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>15.03.2015 00:58, Peter Pykäläinen
                              пишет:<br>
                            </div>
                            <div>
                              <div>
                                <blockquote 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"><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"><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">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><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>
                                                <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" target="_blank">devel-unsubscribe@lists.sailfishos.org</a><br>
                                      </blockquote>
                                    </div>
                                    <br>
                                  </div>
                                  <br>
                                  <fieldset></fieldset>
                                  <br>
                                  <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>
                            </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" target="_blank">devel-unsubscribe@lists.sailfishos.org</a><br>
                        </blockquote>
                      </div>
                      <br>
                    </div>
                    <br>
                    <fieldset></fieldset>
                    <br>
                    <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>
                  </div>
                </div>
              </div></div></blockquote>
              <br>
            </div><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" target="_blank">devel-unsubscribe@lists.sailfishos.org</a><br>
          </div></div></blockquote>
        </div>
        <br>
      </div><div><div>
      <br>
      <fieldset></fieldset>
      <br>
      <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>
    </div></div></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" target="_blank">devel-unsubscribe@lists.sailfishos.org</a><br></blockquote></div><br></div></div></div>
</blockquote></div><br></div>