PyQt4 UI Development for Maya
Just released my 3rd python-based online training video through cmiVFX.com
Introduction
Getting Started With PyQt4
PyQt4 Fundamentals
General Examples
PyQt4 And Maya Introduction
Replicating Maya’s UI Components

Just released my 3rd python-based online training video through cmiVFX.com
This is a follow up post to my previous one on Installing PyQt4 for Maya 2011
Recently while putting together my next video tutorial for Python for Maya, I came to a section where I wanted to demo PyQt4 in Maya2012. But I was concerned that viewers would have to go through the complicated steps of building PyQt4. I noticed that other people have made available precompiled PyQt installers for windows (here) but I could not find any for OSX or linux. So I decided to put together a build.
I created a new project on github called MyQt4
https://github.com/justinfx/MyQt4
Its a Makefile for completely downloading and building PyQt4 for maya, and generating a .pkg installer. Hopefully someone can contribute improvements since I dont have a ton of experience writing makefiles, and also that someone might create a linux version.
Here is a link to the latest pkg build:
Snow Leopard:
Lion:
Mountain Lion:
Here are builds other people have made:

AtomSplitter (chanToFbx) has been updated to v1.2, available through cmivfx.com
Updates:
If you haven’t visited cmiVFX.com before, PLEASE check them out. Chris Maynard does an amazing job rounding up top talent in the industry to create these outstanding visual fx tutorials. The information is always cutting edge.
“App’ing up” PyQt… ugh.
One of biggest problems with PyQt is distributing it in a stand-alone package. Even worse… wanting to make your Qt plugins still function (Phonon, jpeg, etc). At work I constantly had this battle, along with my co-worker Tory. She actually has a long-standing issue with this, and had to resort to workarounds or half fixes. Here is Tory’s original post regarding the issue .
I would see an error similar to this when trying to package up and run an app using the Phonon module.
Running
does add things like the jpeg plugin, but never seemed to fix the Phonon issue. I finally decided to randomly look online for a solution, again, last week. What I found was a partial solution, followed by me trying one more thing and bam…it worked! Video playback from my .app standalone package.
Here is what I did …
(btw you might have to modify the location of the plugin, since I happen to be using OSX)
This will put the phonon backend plugin into the RESOURCES folder in the app.
That should be it!