<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">haven't noticed the restrictions, but I
      give a listmodel to the WorkerScript and send a text back. No
      Operations on that, bat the listmodel is tied to listview.<br>
      Maybe this creates the problem.<br>
      <br>
      Am 13.05.2014 14:13, schrieb Jonni Rainisto:<br>
    </div>
    <blockquote
cite="mid:900612F8BC662740A7204670782E741BFCDC33@ORD2MBX04A.mex05.mlsrvr.com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=ISO-8859-1">
      <style id="owaParaStyle" type="text/css"></style>
      <div style="direction: ltr;font-family: Tahoma;color:
        #000000;font-size: 10pt;"><a moz-do-not-send="true"
href="http://qt-project.org/doc/qt-5/qml-qtquick-workerscript.html#restrictions"
          target="_blank">http://qt-project.org/doc/qt-5/qml-qtquick-workerscript.html#restrictions</a><br>
        <br>
        Maybe you just didn't notice the restrictions part (ie script
        cannot access properties, methods or other attributes of the qml
        item etc).
        <br>
        Hard to say without seeing your workerscript implementation.<br>
        <br>
        re, Jonni<br>
        <br>
        <div style="font-family: Times New Roman; color: #000000;
          font-size: 16px">
          <hr tabindex="-1">
          <div style="direction: ltr;" id="divRpF493787"><font
              color="#000000" size="2" face="Tahoma"><b>From:</b>
              <a class="moz-txt-link-abbreviated" href="mailto:devel-bounces@lists.sailfishos.org">devel-bounces@lists.sailfishos.org</a>
              [<a class="moz-txt-link-abbreviated" href="mailto:devel-bounces@lists.sailfishos.org">devel-bounces@lists.sailfishos.org</a>] on behalf of Matthias
              Barmeier [<a class="moz-txt-link-abbreviated" href="mailto:barmeier@barmeier.com">barmeier@barmeier.com</a>]<br>
              <b>Sent:</b> Tuesday, May 13, 2014 2:57 PM<br>
              <b>To:</b> Sailfish OS Developers<br>
              <b>Subject:</b> Re: [SailfishDevel] QML creates a Segfault<br>
            </font><br>
          </div>
          <div>
            <div class="moz-cite-prefix">OK, its just a bit weird that
              the same program works without a WorkerScript.<br>
              The WorkerScript is just to make the gui more repsonsive
              it has no relevance to the function.<br>
              <br>
              Thanks.<br>
              <br>
              Am 13.05.2014 13:31, schrieb Juha Kallioinen:<br>
            </div>
            <blockquote type="cite">
              <div class="moz-cite-prefix">On 13.05.2014 14:00, Matthias
                Barmeier wrote:<br>
              </div>
              <blockquote type="cite">Hi,<br>
                <br>
                when trying to download data in a WorkerScript thread I
                got this:<br>
                <br>
                <p style="margin-top:0px; margin-bottom:0px;
                  margin-left:0px; margin-right:0px; text-indent:0px">
                  <span style="font-family:'Monospace'; font-size:11pt;
                    color:#b20808">bash: line 1: 1459 Segmentation fault
                    QT_NO_JOURNALD_LOG=1 DISPLAY=:0.0 /usr/bin/CalDav</span></p>
                <style type="text/css">
<!--
p, li
        {white-space:pre-wrap}
-->
BODY {direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;}P {margin-top:0;margin-bottom:0;}</style><br>
                Can somebody explain if I can avoid this or what the
                reason is ?<br>
                <br>
              </blockquote>
              <br>
              That script part is  how Qt Creator runs your application
              in the device/emulator. So it just means that
              /usr/bin/CalDav crashed to a SEGFAULT and you'll need to
              figure out why.<br>
              <br>
              Qt Creator launches the application in the device/emulator
              almost like this:<br>
              <br>
              ssh nemo@device_address "QT_NO_JOURNALD_LOG=1 DISPLAY=:0.0
              /usr/bin/applicationname"<br>
              <br>
              It does not use ssh command, but an ssh library, which is
              part of Qt Creator.<br>
              <br>
              The QT_NO_JOURNALD_LOG =1 is there to make the application
              not put its output to journald, but to stdout/stderr
              instead so that Qt Creator can display it.<br>
              <br>
              Best regards,<br>
               Juha<br>
              <br>
              <br>
              <fieldset class="mimeAttachmentHeader" target="_blank"></fieldset>
              <br>
              <pre>_______________________________________________
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to <a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:devel-unsubscribe@lists.sailfishos.org" target="_blank">devel-unsubscribe@lists.sailfishos.org</a></pre>
            </blockquote>
            <br>
          </div>
        </div>
      </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>