Hi everyone. I currently run into 2 problems when trying to start my PyQt
inside Maya 2010.

1. When I run the script, I sometimes get the error

'NoneType' object has no attribute 'setStyleSheet'

When I re-run the same script again, the error goes away and the UI shows
up with the stylesheet applied . . .?

app = QApplication.instance()
pumpThread.initializePumpThread()
app.setStyleSheet(setQtCSS())


2. I can't get QSql database connection to work. My script can connect just
fine when I run them alone outside Maya 2010. But whenever I try to run it
inside Maya, the lastError() always return me "Driver not loaded"

-- 
view archives: http://groups.google.com/group/python_inside_maya
change your subscription settings: 
http://groups.google.com/group/python_inside_maya/subscribe

Reply via email to