<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p><br>
    </p>
    <div class="moz-cite-prefix">On 2021-09-25 6:28 a.m., Phil Thompson
      wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:7faa9a91f5d3992abb9682f115478ace@riverbankcomputing.com">On
      24/09/2021 19:24, Stefan Seefeld wrote:
      <br>
      <blockquote type="cite">Thanks Maxime,
        <br>
        <br>
        Yes, thanks for sharing your QMLWrapper class.
        <br>
        <br>
        Meanwhile, I have applied the attached patch to solve my current
        <br>
        problem. With that, I'm able to call QML functions even from
        <br>
        non-primary threads.
        <br>
        <br>
        Phil, do you think this is a sensible fix ? Feel free to
        incorporate
        <br>
        this into PyQt !
        <br>
      </blockquote>
      <br>
      Seems reasonable, however should the GIL be released before the
      call to invoke() and re-acquired afterwards?
      <br>
    </blockquote>
    <p>Sure, that would make sense (though I think this change is
      entirely orthogonal to the one I propose here).<br>
    </p>
    <div class="moz-signature">
      <div class="moz-signature">
        <div class="moz-signature">
          <pre><img moz-do-not-send="false" src="cid:part1.8C9E9079.289F1091@seefeld.name" alt="Stefan" width="123" height="77">
-- 

      ...ich hab' noch einen Koffer in Berlin...
</pre>
        </div>
      </div>
    </div>
  </body>
</html>