Message 1 of 2
Maya 2016 (OS X) hangs on using PySide or PyQt

Not applicable
07-27-2016
04:14 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hey everyone.
I'm trying some basic stuff with PySide. But when where I import anything other than the library, OS X's wheel of death appears and Maya stops responding.
This is with PySide and PyQt.
Example code:
import PySide.QtCore as qc import PySide.QtGui as qg class simpleUI(qg.QDialog): def __init__(self): qg.QDialog.__init__(self) self.setWindowTitle('Simple UI') self.setWindowFlags(qc.Qt.WindowStaysOnTopHint) self.setModal(False) self.setFixedHeight(250) self.setFixedWidth(300) dialog = simpleUI() dialog.show()
I've installed them both on my system via Brew. Do I need to do anything more to make Maya and PySide/Qt talk nicely? PySide/Qt both work well outside of maya, so I can only think it's a configuration issue.
The error report when I forced quit Maya: