<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    if cover not displayed its problem with your cover page. show its
    code to us or try to guess yourself where is error.<br>
    <br>
    <div class="moz-cite-prefix">28.04.2014 20:44, Gabriel Böhme пишет:<br>
    </div>
    <blockquote cite="mid:8667586946019926381@unknownmsgid" type="cite">
      <div id="fenix-user-content">
        <p
style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span
            style="font-family:'NokiaPureTextLight'">Hmm, will try it
            with QScopedPointers again, but I did this some days ago and
            the result was still the same. But will try it today again
            and report back.</span></p>
        <p
style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px;font-family:'NokiaPureTextLight'"><br>
        </p>
        <p
style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span
            style="font-family:'NokiaPureTextLight'">Thanks,</span></p>
        <p
style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px;font-family:'NokiaPureTextLight'"><br>
        </p>
        <p
style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span
            style="font-family:'NokiaPureTextLight'">Gabriel.  </span></p>
        <p
style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span
            style="font-family:'NokiaPureTextLight'"> </span></p>
        <p
style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span
            style="font-family:'NokiaPureTextLight'">--</span></p>
        <p
style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span
            style="font-family:'NokiaPureTextLight'"> </span></p>
        <p
style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span
            style="font-family:'NokiaPureTextLight'">Von meinem Nokia N9
            gesendet</span></p>
        <p
style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span
            style="font-family:'NokiaPureTextLight'"> </span></p>
      </div>
      <br>
      <div id="fenix-reply-header">
        <p><a moz-do-not-send="true"
            href="mailto:christopher.lamb@thurweb.ch">christopher.lamb@thurweb.ch</a>
          schrieb am 28.04.14 16:27:<br>
        </p>
      </div>
      <div id="fenix-quoted-body">Hi all<br>
        <br>
        There was a thread on this way back in December last year:<br>
        <br>
        <a moz-do-not-send="true"
href="https://lists.sailfishos.org/pipermail/devel/2013-December/001804.html"
          target="_blank">https://lists.sailfishos.org/pipermail/devel/2013-December/001804.html</a><br>
        <br>
        HtH<br>
        <br>
        Chris<br>
        <br>
        <br>
        Zitat von "Luca Donaggio" <<a moz-do-not-send="true"
          href="mailto:donaggio@gmail.com" target="_blank">donaggio@gmail.com</a>>:<br>
        <br>
        <blockquote class="gmail_quote" style="margin:0 0 0
          .8ex;border-left:1px #ccc solid;padding-left:1ex">
          I think you should use QScopedPointers in your main:<br>
          <br>
              QScopedPointer<QGuiApplication>
          app(SailfishApp::application(argc,<br>
          argv));<br>
              QScopedPointer<QQuickView>
          view(SailfishApp::createView());<br>
          <br>
          Covers (and pages as well) can see all your ApplicationWindow
          (ie: their<br>
          parent) properties.<br>
          <br>
          <br>
          On Fri, Apr 25, 2014 at 10:14 AM, Gabriel Böhme <<br>
          <a moz-do-not-send="true"
            href="mailto:m.gabrielboehme@googlemail.com" target="_blank">m.gabrielboehme@googlemail.com</a>>
          wrote:<br>
          <br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
             Hi sailors,<br>
            <br>
            I have released my app "Freiertag" in the days Jolla
            started. It worked<br>
            pretty well, but now some updates later (since 1.038 and
            later) I'm facing<br>
            a problem, I can't find a solution for.<br>
            <br>
            Starting the app first time works, but on the second try it
            crashes. After<br>
            some inspection it seems the problem is, that the app is
            don't quit<br>
            correctly. I can use the gesture in Emulator or press and
            click the X, in<br>
            both cases it's still running, after a kill via SSH, it can
            be started<br>
            again. The strange thing is, that it worked earlier.<br>
            <br>
            Thats the code from main:<br>
            <br>
            #include <sailfishapp.h>#include "FreiertagCom.hpp"<br>
            <br>
             int main(int argc, char *argv[])<br>
            <br>
            {<br>
            <br>
                QGuiApplication *app = SailfishApp::application(argc,
            argv);<br>
            <br>
                QQuickView *view = SailfishApp::createView();<br>
            <br>
                 //create a new ListModel for the results<br>
            <br>
                FreiListModel *freiModel = new FreiListModel();<br>
            <br>
                //create a new instance of our object that is doing th<br>
             e most work<br>
            <br>
                FreiertagCom *frei = new FreiertagCom(freiModel);<br>
            <br>
                 view->rootContext()->setContextProperty("frei",
            frei);<br>
            <br>
                view->rootContext()->setContextProperty("freiModel",
            freiModel);<br>
            <br>
                view->setSource(SailfishApp::pathTo("qml/harbour-freiertag.qml"));<br>
            <br>
                view->showFullScreen();<br>
            <br>
                 return app->exec();<br>
            <br>
            }<br>
            <br>
             Another thing is, that I've set my cover and QML pages in
            this way:<br>
            <br>
            <br>
            import QtQuick 2.0import Sailfish.Silica 1.0<br>
            <br>
            import "pages"<br>
            <br>
            import "cover"<br>
            <br>
             ApplicationWindow<br>
            <br>
            {<br>
            <br>
                id: mainApplicationWindow<br>
            <br>
                 MainPage {id: mainPage}<br>
            <br>
                StartCover {id: startCover}<br>
            <br>
                ResultPage {id: resultPage}<br>
            <br>
                 initialPage: mainPage<br>
            <br>
                cover: startCover<br>
            <br>
            }<br>
            <br>
            <br>
            I was doing it, to set text and other informations on the
            cover(s). But<br>
            now that seems not to work anymore. So how can I "talk" to a
            cover, if I'm<br>
            setting it via Qt.resolvedUrl for example?<br>
            <br>
            Thank you very much! :)<br>
            <br>
            Gabriel.<br>
            <br>
            <br>
            <br>
            <br>
            _______________________________________________<br>
            SailfishOS.org Devel mailing list<br>
            <br>
          </blockquote>
          <br>
          <br>
          <font color="#888888">
            <br>
            --<br>
            Luca Donaggio<br>
            <br>
          </font></blockquote>
        <br>
        <br>
        <br>
      </div>
      <br>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
SailfishOS.org Devel mailing list</pre>
    </blockquote>
    <br>
  </body>
</html>