PyQt has to be built against the same version of qt that maya is using 
(2013 uses 4.7.1).  Not only that, but the compile flags have to match what 
Autodesk used - they publish this somewhere.  I don't recall where that is 
at the moment, but I bet Google knows...

If you don't do this, it will behave unpredictably if it works at all.


On Thursday, September 13, 2012 5:02:10 PM UTC-7, Carlo wrote:
>
> I tried the way you but Maya still continues to crash.
>
> I wrote the lines in the __init__ file:
> qt= 'W://SCRIPT_LIBRARY//__PublicMode//PyQt'
> print( qt)
> qt= os.path.normpath( qt)
> sys.path.append( qt)
>
> Because Maya would give me the error # Error: ImportError: No module named 
> PyQt4.QtCore # . 
>
> If I didn't point to the PyQt folder. Though I'm not sure why it does that 
> if PyQt is already registered and runs with Maya? 
>
> So could that perhaps be the problem that my version of PyQt in the folder 
> isn't update with Maya 2013. And if so, is a cleaner way point to the Maya 
> 2013's PyQt folder?
>

-- 
view archives: http://groups.google.com/group/python_inside_maya
change your subscription settings: 
http://groups.google.com/group/python_inside_maya/subscribe

Reply via email to