[PyKDE] Embed pyqt in a qt program

Phil Thompson phil at riverbankcomputing.co.uk
Wed Apr 21 19:26:00 BST 2004


On Tuesday 20 April 2004 2:47 pm, 陆然 wrote:
> Hi,
>
> I'm trying to write a pyqt script in a qt based program, The program run
> script using PyRun_SimpleString. And I always got some weird problem, I try
> to run it on a debian(pyqt compiled from source, sip and qt installed by
> apt) and I got some segfault in qt,  Then I try to run it in a gentoo that
> all the program are compiled from source, The message is even more strange:
>
> Xlib: unexpected async reply (sequence 0x8789)!
>
> I don't know how to fix this problem, please help, any reply will be
> appreciated, the source of the script is in the attachment.

PyQt isn't designed for this. I'm not saying you won't be able to get it to 
work, but...

Phil




More information about the PyQt mailing list