Tag Archives: pyqt

PyQt4 for Maya2013 on Windows 7 x64

For windows users, PyQt 4.9.1 built against Qt4.7.1 and SIP4.13.2 for Maya2013 x64, can be downloaded  here . Links to the respective sources are included below.

Update: Have updated an executable to make the installation easier. You may download it here

Qt 4.7.1 source

SIP source

PyQt source

Building PyQt for Maya 2012 ( Linux x64 )

                   

SIP needs to be built prior to building PyQt.

Download SIP from here

Maya 2012 uses Qt 4.7.1.

Download it from here

Download PyQt from here

First step is to build qt from source. Extract the tarball and CD in to the directory

./configure

While running configure, if you get the following error

Basic XLib functionality test failed!

You might need to modify the include and library search paths by editing

QMAKE_INCDIR_X11 and QMAKE_LIBDIR_X11 in /home/anoop/apps/sources/qt-everywhere-opensource-src-4.7.1 /mkspecs/linux-g++-64.

install teh libXext development package. I used zypper to install the package from the web

zypper install xorg-x11-libXext-devel

executing the configure after the installation gave the following error

cannot find -lXrender

this was happening because configure couldn’t find libXrender.so. This can be fixed by creating a symlink to libXrender.so.1 in the /usr/lib64 directory

ln -s /usr/lib64/libXrender.so.1 /usr/lib64/libXrender.so

After successful configuration run the following to install Qt to /usr/local/Trolltech/Qt-4.7.1 directory

make

make install

Building SIP

Extract the SIP zip archive to /home/username/SIP

cd /home/username/SIP

After setting the variables, run the following

/usr/autodesk/maya2012/bin/mayapy configure.py

make

make install

Building PyQt

Extract the archive to /home/username/PyQt-x11-gpl-4.7.4

cd PyPyQt-x11-gpl-4.7.4

/usr/autodesk/maya2012/bin/mayapy configure.py -q /usr/local/Trolltech/Qt-4.7.1/bin/qmake

make -j4

make install

PyQt4 for Maya2012 on Windows 7 x64

For windows users, PyQt 4.8.5 built against Qt4.7.1 and SIP4.12.4 for Maya2012 x64.can be downloaded  here . And like I mentioned in the last post, links to the respective sources are included below.

Qt 4.7.1 source

SIP source

PyQt source

PyQt4 for Maya2012 on openSUSE11.4 ( Linux x64 )

 PyQt 4.8.5 built against Qt4.7.1 and SIP4.12.4 for Maya2012 x64. download it here . In case you want to build  PyQt on your own you can download the sources here.

Qt 4.7.1 source

SIP source

PyQt source

PyQt4 for Maya2011 on Windows XP x64

Finally got some time to get back to python after a long break, only to find that I don’t have a working copy of PyQt4. Instead of spending time on google trying to figure out whether anyone has decided to share a copy of PyQt built against Qt4.5.3, decided to build one myself. Having Windows SDK already installed on my XP proved out to be handy since the Visual Studio version I was running was still 32-bit one. Downloaded SIP4.12 source and Qt4.5.3 SDK and within few seconds the PyQt4 module was successfully added to the site-packages.

Thought of sharing the build for those of you who are planning ahead to design awesome GUIs in Maya.You may download it here

Qt 4.5.3 SDK for Maya 2011

My search for a compatible version of Qt SDK for Maya 2011 Hotfix3 x64 ended up with a few results which I thought of sharing with you guys in case you need any. Maya 2011 Hotfix 3 uses Qt 4.5.3 to draw the interface. Below are a list of links to Qt 4.5.3 for Linux, Mac OS and Windows.

Qt 4.5.3 OpenSource Edition SDK

Qt 4.5.3 SDK for Open Source C++ development on Windows [178Mb]

http://get.qt.nokia.com/qtsdk/qt-sdk-win-opensource-2009.04.exe

Qt 4.5.3 SDK for Open Source C++ development on Linux/X11 32-bit [275Mb]

http://get.qt.nokia.com/qtsdk/qt-sdk-linux-x86-opensource-2009.04.bin

Qt 4.5.3 SDK for Open Source C++ development on Linux/X11 64-bit [353Mb]

http://get.qt.nokia.com/qtsdk/qt-sdk-linux-x86_64-opensource-2009.04.bin

Qt 4.5.3 SDK for Open Source C++ development on Mac OS [442Mb]

http://get.qt.nokia.com/qtsdk/qt-sdk-mac-opensource-2009.04.dmg

Qt 4.5.3 OpenSource Edition Framework Only

Qt 4.5.3 for Open Source C++ development on Windows [166Mb]

http://get.qt.nokia.com/qt/source/qt-win-opensource-4.5.3-mingw.exe

http://get.qt.nokia.com/qt/source/qt-win-opensource-src-4.5.3.zip

Qt 4.5.3 for Open Source C++ development on Linux/X11 [120Mb]

http://get.qt.nokia.com/qt/source/qt-x11-opensource-src-4.5.3.tar.gz

Qt 4.5.3 for Open Source C++ development on Mac OS [132Mb]

http://get.qt.nokia.com/qt/source/qt-mac-opensource-4.5.3.dmg

http://get.qt.nokia.com/qt/source/qt-mac-opensource-4.5.3-debug-libs.dmg

http://get.qt.nokia.com/qt/source/qt-mac-cocoa-opensource-4.5.3.dmg

http://get.qt.nokia.com/qt/source/qt-mac-cocoa-opensource-4.5.3-debug-libs.dmg

http://get.qt.nokia.com/qt/source/qt-mac-opensource-src-4.5.3.tar.gz