Message 1 of 4
Maya 2011 with PyQt freezing?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi All,
Iam using Maya 32 bit and PyQt . I got it installed PyQt with maya and i am able to import pyqt , but issue is if i am creating any window with pyqt then simple maya is getting hang , then i need to kill maya . I dont know whats going wrong and I am using pumpthred also . but no luck here is the screen shoot

Uploaded with ImageShack.us
Iam using Maya 32 bit and PyQt . I got it installed PyQt with maya and i am able to import pyqt , but issue is if i am creating any window with pyqt then simple maya is getting hang , then i need to kill maya . I dont know whats going wrong and I am using pumpthred also . but no luck here is the screen shoot
def main():
"""
main function for creating mod helper
"""
import pumpThread
global dialog, app
#check to see if the dialog is already loaded
if 'dialog' in globals():
dialog.close()
dialog.destroy()
#~ dialog.show()
#~ return
pumpThread.initializePumpThread()
app = QtGui.qApp
app.setStyle('plastique')
dialog = windowGUIClass() #MAIN FUNCTION HERE
dialog.show()
app.connect(app, QtCore.SIGNAL('lastWindowClosed()'), app, QtCore.SLOT('quit()'))
if __name__ == '__main__':
main()

Uploaded with ImageShack.us