PyQt for Maya 2011 64-bit Installation Guide

Guide to building SIP 4.10 and PyQt 4.7 with Qt 4.5.3 so the modules work in Autodesk Maya 2011 64-bit Python on Linux, OS X and Windows.


PyQt for Maya 2011 64-bit Installation Guide - cover page
Brand
PyQt
Category
Programming
Document type
Installation Guide
Language
English
Pages
7
File format
PDF
File size
151 KB
Published
18 November, 2026
Updated
18 November, 2026
MD5 checksum
5028D20F34F1F4D18828CCBC44C95F17

About this manual

This document explains that PyQt is a Python binding to the Qt library and that, because Maya uses Qt internally, PyQt modules can be used in Maya Python scripts to create custom UI. It notes that PyQt does not have the same licensing as Maya, Qt or Python and points to the PyQt website for licensing information, then gives download links for PyQt4 and SIP from Riverbank Computing.

The rest of the guide contains separate build instructions for Linux x86 64-bit, OS X x86 64-bit and Windows x64. Each section builds Qt, then SIP, then PyQt using the Maya mayapy interpreter with configure.py followed by make or nmake and make install; the Linux steps assume Qt libraries in /usr/local/Trolltech/Qt-4.5.3, while the OS X steps add install_name_tool commands to relink the PyQt libraries for Maya and warn that Maya includes only the Qt binaries it actually uses, so some PyQt modules will not work. The Windows steps require Visual Studio 2008 x64 and assume Qt built into c:\Qt\4.5.3.

What's inside

  • Download PyQt and SIP
  • Linux x86 - 64 bit
  • Building Qt
  • Building SIP
  • Building PyQt
  • OS X - x86 - 64 bit
  • Relinking PyQt libraries with install_name_tool
  • Windows x64

Specifications

Required build tool (Windows x64)Visual Studio 2008 x64

Frequently asked questions

Why can I use PyQt inside Maya Python scripts?

Because Maya uses Qt internally, PyQt modules can be imported in Maya Python scripts to build custom UI.

Does PyQt use the same license as Maya, Qt or Python?

No. The document states that PyQt does not have the same licensing as Maya, Qt or Python, and that the PyQt website should be consulted for licensing information.

What is needed to build PyQt on 64-bit Windows?

You need Visual Studio 2008 x64 installed; the instructions say they may also work with Visual Studio Express Edition x64.

Why do some PyQt modules not work after installation on OS X?

Maya includes only the Qt binaries it actually uses, so installed PyQt modules that need missing libraries will not find them; the document suggests copying the missing libraries from the Qt build.

Download PDF (151 KB)