I had this problem frequently when developing our pipeline here. Beware of QThreads that get garbage collected before they have finished running.
The key was to store them inside a list which does not get collected (on module or class level) and delete them after they have finished running.
 
Gesendet: Mittwoch, 29. Mai 2013 um 10:10 Uhr
Von: "Michal Doniec" <[email protected]>
An: softimage <[email protected]>
Betreff: Re: PyQtForSoftimage with PySide support
I just stick them into QtGui
 
QtGui.dialog = dialog
 
They won't get garbage collected this way. I think it's the same in Julien code.
 
On 23 May 2013 21:04, Steven Caron <[email protected]> wrote:
thanks julien
 
and i think your code is giving a hint on how i should have been getting around the objects going out of scope and getting garbage collected.
 
s
 
On Thu, May 23, 2013 at 12:45 PM, Julien Dubuisson <[email protected]> wrote:
I just shared the pure Python plugin I wrote to get PySide working in Softimage on Linux and Windows: https://bitbucket.org/rodeofx/rdoqtforsoftimage
Feel free to try it out. 
Feedback is welcome as there is obviously room for improvement. 
 
Thanks Steven Caron for letting me re-using code from his plugin (events, signals and examples).
 
On Tue, May 21, 2013 at 4:47 AM, Stefan Kubicek <[email protected]> wrote:
It does not ;-)

On May 19, 2013, at 2:21, Xavier Lapointe <[email protected]> wrote:
 
For windows binaries, this website is quite awesome: http://www.lfd.uci.edu/~gohlke/pythonlibs/#pyside

Haven't tried their installer though for Pyside, so no idea if it includes Shiboken or not.
 
 
 
 
--
----------
Michal
http://uk.linkedin.com/in/mdoniec

Reply via email to