If you generated that directly off the UI file then there shouldn't be any 
problems. Your ui class pops up just fine. The problem would be in other code 
you are running. Can you post most code showing what is actually causing the 
crash?

Btw, not that I think you are doing this anyways but though it is worth 
mentioning... that part at the bottom of your python ui module (in the 
__main__) block is only meant for standalone (outside of Maya) apps. You 
shouldn't be creating a QApplication anywhere.



On Dec 28, 2012, at 9:53 AM, Tuan Nguyen wrote:

> Maybe it because of PyQt's version?. 
> Also, i'm sorry, this is might be a little too much but can you take a look 
> at my UI? I try to parent an Maya's object to it in Maya 2012 (like how you 
> told me), but the Maya crash out right away. Everything normal in your 
> example through
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Python Programming for Autodesk Maya" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
>  
>  
> <CModiferUI-Test.ui><CModiferUI.py>

-- 
You received this message because you are subscribed to the Google Groups 
"Python Programming for Autodesk Maya" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].


Reply via email to