I'll uploaded the files needed for maya2011 for 64bit ubuntu/kubuntu (any other linux distros) here:
http://www.ozgurfx.com/downloads/pyqt4_for_maya2011_linux_64bit.7z extract everyting to site-packages folder under /usr/autodesk/maya/lib/python2.6/site-packages E.Ozgur Yilmaz Lead Technical Director www.ozgurfx.com On Thu, May 20, 2010 at 9:11 AM, Leonid Onokhov <[email protected]> wrote: > Try running ldd > /usr/autodesk/maya/lib/python2.6/site-packages/PyQt4/QtCore.so > > Most likely what your PyQt is compiled with different version of gcc. Maya > uses still uses 4.1. > So, I don't know if maya 2011 distributes headers for Qt it uses, I guess > it does. > You will need to download sources from sip and PyQt from riverbank site. > Upack them somethere. > Also install gcc-4.1, I'm sure ubuntu has such package. > make a link to gcc-4.1 and g++-4.1 to your $home/bin dir. > cd ~ > mkdir bin > cd bin > ln -s /usr/bin/g++-4.1 g++ > ln -s /usr/bin/gcc-4.1 gcc > > gcc-4.1 executable may have different name in ubuntu. We link it to your > home dir, so we do not override system default /usr/bin/gcc and g++. > > cd into/sip/dir > mayapy configure.py > make > sudo make install (this will install sip into > maya/lib/python2.6/site-packages > > cd pyqtdir > mayapy configure.py -q /usr/autodesk/maya/bin/qmake (I home maya has qmake > distributed) > make > sudo make install (will install into maya python site-packages) > > mayapy -c "import PyQt.QtCore" for testing. > > -- > http://groups.google.com/group/python_inside_maya > -- http://groups.google.com/group/python_inside_maya
