PyQt4 for Maya 2014

29 views
Skip to first unread message

Jo Jürgens

unread,
Oct 2, 2014, 9:16:19 AM10/2/14
to python_in...@googlegroups.com
Does anyone have a compiled version of PyQt for Maya 2014/Windows64, or know where to find one. Using PySide is not an option - we have tens of thousands of lines of gui code that are super stable under PyQt and crash almost instantly when run inside Maya (or Nuke/Hiero/Rv) with PySide

Thanks

Ricardo Viana

unread,
Oct 2, 2014, 10:44:02 AM10/2/14
to python_in...@googlegroups.com
Make a search on this groups posts. Marcus did one and shared it .

Best 
Ricardo


On Thursday, October 2, 2014, Jo Jürgens <joju...@gmail.com> wrote:
Does anyone have a compiled version of PyQt for Maya 2014/Windows64, or know where to find one. Using PySide is not an option - we have tens of thousands of lines of gui code that are super stable under PyQt and crash almost instantly when run inside Maya (or Nuke/Hiero/Rv) with PySide

Thanks

--
You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email to python_inside_m...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/CAAOciAgzfT%2Bm%3D-K%3Dd2RWk4kHJvxWvyX8Sdvh9qDcmufW8SEvEA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


--
Sent from Mobile

Joe Weidenbach

unread,
Oct 2, 2014, 11:33:00 AM10/2/14
to python_in...@googlegroups.com
Just an FYI on this, I've both compiled my own PyQt and tried other versions of PyQt for Maya 2014, and for some reason it works (brings up the window with all the controls), but the slots don't seem to connect (nothing responds when clicked).  With a VERY simple test code, it works.  But in all of my tests with bigger projects, starting with Maya 2014, PyQt seems to have issues, where it worked perfectly in Maya 2013 and before.  It could be something in the way I'm coding, I don't know, but it has been consistent across installs.  I fought with this for several months when I was switching to 2014 before I gave up on it.  I finally made a point of converting my library over to PySide and everything just worked, once I got past the nuances of not having QStrings etc.  It did take a few days to track everything down, but now I'm 100% PySide and happier for it.  If you do get it working, though, let us know!

Joe


On 10/2/2014 6:15 AM, Jo Jürgens wrote:
Does anyone have a compiled version of PyQt for Maya 2014/Windows64, or know where to find one. Using PySide is not an option - we have tens of thousands of lines of gui code that are super stable under PyQt and crash almost instantly when run inside Maya (or Nuke/Hiero/Rv) with PySide

Thanks

Marcus Ottosson

unread,
Oct 3, 2014, 7:52:21 AM10/3/14
to python_in...@googlegroups.com

I went ahead and uploaded this version to GitHub.
https://github.com/pyqt/maya2014-qt4

If anyone has, would like or needs other versions, or versions for other platforms, let me know and we’ll put it up too.

Best,
Marcus



For more options, visit https://groups.google.com/d/optout.



--
Marcus Ottosson
konstr...@gmail.com

Jo Jürgens

unread,
Oct 5, 2014, 11:50:13 AM10/5/14
to python_in...@googlegroups.com
Thank you very very much.

This appears to work, though I havent tested it that much yet. Signals/slots seem to work fine.

I also tested this with Rv 4.2 (which uses Python 2.7), and it turns out to work beautifully - much more stable than with standard PyQt. Ive had several guis that would crash instantly in Rv, but with Maya PyQt they appear to work

Marcus Ottosson

unread,
Oct 5, 2014, 12:03:37 PM10/5/14
to python_in...@googlegroups.com
You're welcome. :)

This version should work fine with any Python interpreter compiled using VS2010. Maya 2014 is, Nuke 8 is, and it's possible that RV is too. Maya 2015 however is VS2012 and will (or should) require another version of PyQt4. Once I find it (or build it) I'll put it up as well.

Best,
Marcus


For more options, visit https://groups.google.com/d/optout.



--
Marcus Ottosson
konstr...@gmail.com

Reply all
Reply to author
Forward
0 new messages