Message 1 of 2
Setting MAYA_SET_PARENT_HINT=0 fixes PyQt crash in QmayaWindowEventFilterObject::eventFilter()

Not applicable
09-21-2010
03:07 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Wanted to share this with the community after getting it sorted out. Thanks Autodesk support for your help!
If you're using QGraphicsScene and QGraphicsView in a GUI in PyQt on Maya 2011 you might have had some crashes when you mouse-over the Window.If you turn on the Maya debugging env var, and you see that the crash is in QmayaWindowEventFilterObject::eventFilter(), try this:
Set MAYA_SET_PARENT_HINT=0 in your environment before running and try again. This was a great quick fix for this issue and our UIs are working again. Woo!
Good luck,
Mike
If you're using QGraphicsScene and QGraphicsView in a GUI in PyQt on Maya 2011 you might have had some crashes when you mouse-over the Window.If you turn on the Maya debugging env var, and you see that the crash is in QmayaWindowEventFilterObject::eventFilter(), try this:
Set MAYA_SET_PARENT_HINT=0 in your environment before running and try again. This was a great quick fix for this issue and our UIs are working again. Woo!
Good luck,
Mike