import PyQt4 as qt sould be : import PyQt4.QtGui as qt i guess
Nicolas 2009/1/26 Francis Vega <[email protected]> > > I've got this error msg in maya 2009 with the example code: > > Code: > import sys > import PyQt4 as qt > app = qt.QApplication(sys.argv) > hello = qt.QLabel("Hello world!",None) > hello.show() > > Error in maya or python interpreter... > Traceback (most recent call last): > File "<pyshell#2>", line 1, in <module> > app = qt.QApplication(sys.argv) > AttributeError: 'module' object has no attribute 'QApplication' > > ¿? > > > --~--~---------~--~----~------------~-------~--~----~ Yours, Maya-Python Club Team. -~----------~----~----~----~------~----~------~--~---
