Yes, we use it extensively at The Mill. It runs on timer (every 20 ms QT
even loop is updated). Basically timer event updates QT even loop using
processEvents. "Global" QT application is created first and used for
everything else.

There is a couple of things to keep in mind. If you want to show non modal
dialogs (using show) you need to prevent them from being garbage collected,
one of the methods (very hacky one) is to stuff window handles into one of
PyQt4 modules, like QtGui, (Like this: QtGui.your_dialog = a_dialog.show()
).


QT windows will not be attached to XSI window by default. The best way
would be to attach them using XSI Xwindow handle as a parent, but I didn't
manage to figure out how to do it yet. It was easy on windows. The
workaround is to make QT windows to always stay on top, which works really
well unless you minimize XSI while some QT windows are open. They will not
minimize with XSI.
Other than that it runs pretty stable, we have quite UI intensive system
here running on it and I didn't notice many crashes.
Hope that helps.


On 18 January 2013 08:36, Stefan Andersson <[email protected]> wrote:

>
>
> On Thu, Jan 17, 2013 at 11:49 PM, Xavier Lapointe <
> [email protected]> wrote:
>
>> "there is also Aloys' method with a timer event, which for some reason no
>> one seems to be trying."
>>
>> The other issue is also to compile PyQt for Softimage using python 2.5 (
>> until they update on linux (: ), but meh. Meant to give it a shot, and
>> finally ended up working in the same shop as Aloys so it became useless q:
>>
>>
>
> Given the big popularity of Qt I wonder why no one at Autodesk has given
> this any priority? It's been talked about on this list for quite some time
> now. It seems that they should have the resources to do it, and not to
> mention the source code for Softimage so that they know HOW to implement it.
>
> Or did they fire all those that could do that??
>
> And while I'm complaining, how many times haven't I requested that Python
> should be upgraded so that it matches the Maya version? And Softimage is
> STILL missing essential python libs. I can sort the python libs out myself,
> but it's pretty lame from Autodesk to not supply those. From a commercial
> package as Softimage I actually demand more than what I do from a
> OpenSource package. I thought the whole point of buying something was so
> that you didn't have to build it yourself (don't get me started on Maya,
> that's even worse...).
>
> Softimage is a great program, but has some really nasty flaws which it
> seems to never getting fixed. Or for some reason being stubbornly ignored.
>
> regards
> Stefan "Grumpy Morning" Andersson
>
>
>
> --
> *Stefan Andersson | Digital Janitor*
> blog <http://sanders3d.wordpress.com> | showreel<http://vimeo.com/sanders3d>|
> twitter <http://twitter.com/sanders3d> | 
> LinkedIn<http://www.linkedin.com/in/sanders3d>| cell:
> +46-73-6268850 | skype:sanders3d
>
>
>


-- 
----------
Michal
http://uk.linkedin.com/in/mdoniec

Reply via email to