[prev in list] [next in list] [prev in thread] [next in thread]
List: pykde
Subject: Re: [PyQt] Reopening QT Window - Segfault
From: Michka Popoff <michkapopoff () gmail ! com>
Date: 2011-04-27 13:18:20
Message-ID: BANLkTinoSW7KSFddXv9vD2Sfrpy5JobZLA () mail ! gmail ! com
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
2011/4/26 Hans-Peter Jansen <hpj@urpla.net>
> Michka,
>
> please keep the ML CCed at least. If somebody is searching for a similar
> issue, he might be interested in the follow-ups.
>
My bad, I normally do. I just clicked on the wrong button while replying.
Sorry.
>
> On Tuesday 26 April 2011, 11:58:03 Michka Popoff wrote:
> > > It's a well known limitation of PyQt (and probably of Qt, too).
> > > Having it working for a single arch is pure luck.
> >
> > Ok, I thought that : if it works on OS X, why not on Ubuntu ?
>
> Because the kept state and the states' behavior below QApplication is
> very different between different archs.
>
> More importantly, don't rely on it.
>
Okay didn't know.
> > Start it in an extra process is using a thread ? Don't know if this
> > is the solution.
>
> No, threading is something different. Just start is as another process,
> e.g. with subprocess.Popen.
>
>
OMG. This is exactly what I needed. I was searching for a solution since 2
months now. Didn't know about subprocess ... I was looking in the wrong
direction (threading, using another GUI toolkit, ...).
It's the best way to do what I want, making a "plugin" upon an existing app.
No more conflicts between toolkits. I can pass the data I wish to display
through a file, serialized with pickle (I found some tutorials on the web,
after 1 hour I was able to have everything up and running).
So thank you very much !!
Michka
[Attachment #5 (text/html)]
2011/4/26 Hans-Peter Jansen <span dir="ltr"><<a \
href="mailto:hpj@urpla.net">hpj@urpla.net</a>></span><br><div \
class="gmail_quote"><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; \
border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"> Michka,<br>
<br>
please keep the ML CCed at least. If somebody is searching for a similar<br>
issue, he might be interested in the follow-ups.<br></blockquote><div><br>My bad, I \
normally do. I just clicked on the wrong button while replying. Sorry.<br> \
</div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: \
1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div class="im"><br>
On Tuesday 26 April 2011, 11:58:03 Michka Popoff wrote:<br>
> > It's a well known limitation of PyQt (and probably of Qt, too).<br>
> > Having it working for a single arch is pure luck.<br>
><br>
> Ok, I thought that : if it works on OS X, why not on Ubuntu ?<br>
<br>
</div>Because the kept state and the states' behavior below QApplication is<br>
very different between different archs.<br>
<br>
More importantly, don't rely on it.<br></blockquote><div><br>Okay didn't \
know.<br> </div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; \
border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"> <div class="im">
> Start it in an extra process is using a thread ? Don't know if this<br>
> is the solution.<br>
<br>
</div>No, threading is something different. Just start is as another process,<br>
e.g. with subprocess.Popen.<br><br></blockquote><div> </div><div>OMG. This is exactly \
what I needed. I was searching for a solution since 2 months now. Didn't know \
about subprocess ... I was looking in the wrong direction (threading, using another \
GUI toolkit, ...).<br> <br>It's the best way to do what I want, making a \
"plugin" upon an existing app. No more conflicts between toolkits. I can \
pass the data I wish to display through a file, serialized with pickle (I found some \
tutorials on the web, after 1 hour I was able to have everything up and running).<br> \
<br>So thank you very much !!<br> <br><br>Michka<br></div></div>
_______________________________________________
PyQt mailing list PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic