Hi there. I'm just getting into pyqt for maya. Platform: windows vista 32bit
I have read the doc(s), and I have python 2.5 and PyQt-Py2.5- gpl-4.4.3-1 installed for maya2008. What I have done: - copied pyqt folder and sip files to Maya2008/Python/lib/site- packages from python2.5 directory - copied userSetup.py and pythonScripts.py to my maya/scripts folder Error 1: // when launching maya, it complains there is no module called pythonScripts // Error: No module named pythonScripts Error 2: import sys import PyQt4 as qt # works until this point , it imports PyQt4 as qt fine then it complains there is no attribute called QApplication app = qt.QApplication(sys.argv) # Error: 'module' object has no attribute 'QApplication' # Traceback (most recent call last): # File "<maya console>", line 1, in <module> # AttributeError: 'module' object has no attribute 'QApplication' # Thanks in advance. -- http://groups.google.com/group/python_inside_maya
