Building and Installing PyQt for 64-bit Maya 2012 : Windows 7 x64

Now maya uses a customized version of Qt libraries.So if you want to built PyQt libraries for maya 2012.Here is how to do that,

Things to download

  1. Microsoft 2008 Express Edition with SP1
  2. Microsoft Windows SDK for Windows 7 (Windows 7 64bit Only)
  3. Qt 4.7.1 Modified for Maya from Autodesk
  4. Original Qt 4.7 from Nokia
  5. Sip 4.1.3
  6. PyQt 4.8.6

Building Qt

  1. Extract the Original Qt 4.7 from Nokia to c:\qt-adsk-4.7.1
  2. If you’re building for 64-bit Maya, select ‘Visual Studio 2008 x64 Win64 Command Prompt’.
  3. Run the commands below
cd c:\qt-adsk-4.7.1
configure -debug-and-release -no-qt3support

4. Now Qt is configured.To build run this command


More detailed instruction can be found inside the Qt 4.7.1 Modified for Maya from Autodesk archive.

Building Sip

1.Extract Sip 4.1.3 to c:\sip-4.13

2.Run ‘Visual Studio 2008 x64 Win64 Command Prompt’ as administrator

3.Lets set the env variable for library and configure sip.Execute following commands

cd c:\sip-4.13
set LIB=%LIB%;C:\Program Files\Autodesk\Maya2012\lib
"C:\Program Files\Autodesk\Maya2012\bin\mayapy"

4.Set the include file location and build sip

set INCLUDE=%INCLUDE%;C:\Program Files\Autodesk\Maya2012\include\python2.6
nmake install

Buiding PyQt

1.Extract PyQt 4.8.6 to c:\PyQt-win-gpl-4.8.6

2.Run ‘Visual Studio 2008 x64 Win64 Command Prompt’ as administrator

3.Change to PyQt directory and Set the following Environment variable

cd c:\PyQt-win-gpl-4.8.6
set QTDIR= C:\qt-adsk-4.7.1
set PATH=C:\qt-adsk-4.7.1\bin;%PATH%
set QMAKESPEC=C:\qt-adsk-4.7.1\mkspecs\win32‐msvc2008
set INCLUDE=%INCLUDE%;C:\Program Files\Autodesk\Maya2012\include\python2.6;C:\qt-adsk-4.7.1\include

4.Configure and Bulit

"C:\Program Files\Autodesk\Maya2012\bin\mayapy" ‐w LIBDIR_QT=C:\qt-adsk-4.7.1\lib INCDIR_QT=C:\qt-adsk-4.7.1\include
nmake install

Now Sip and PyQt4 will be installed in maya’s site‐packages directory located at C:\Program Files\Autodesk\Maya2012\Python\lib\site-packages

Testing the Installation

Now you can test the installation.Using the below code in maya’s script editor.

from PyQt4 import QtGui,QtCore
button=QtGui.QPushButton("Hello There")

Got an iPad 2

Today i got an iPad 2. I was in a dilemma whether to go for iPhone 4S or iPad 2, but i squared on iPad 2.The main reason is i am happy with my iPhone 4 and the siri stuff is the only good reason to go for 4S but definitely not at the cost of 45K.

Google’s New Product : Google Currents

Finally Google has launched their codenamed propeller as “Google Currents”.Its a magazine – like news reader app for android and iOS devices.It lets you explore online magazines and other content with the swipe of a finger.I have always hated Google reader.But this one is really beautiful and cool.

It is not a social magazine like flipboard.Because it doesn’t allow us to feed twitter or facebook feed like flipboard.flipboard has read it later and instapaper.currents only have instapaper.I prefer Flipboard than currents.But Flipboard is available only for iOS devices.

Most importantly,It allows you to create and distribute your own content using “Producer“. I have published this blog in currents.It is pretty straightforward.

As of today there was no ads inside this app.

The app is available for free in the android market and apple store (US Store only)


What is Previs?

Just read this definition formulated by the ASC-ADG-VES Joint Technology Subcommittee on previsualization.

” It is a collaborative process that generates preliminary versions of shots or sequences, predominantly using 3D animation tools and virtual environment.It enables filmmakers to visually explore creative ideas, plan technical solutions, and communicate a shared vision for efficient production.”

and i like to add “It will also help vfx artist to have some sleep.”