greetings!
i'm trying to use QtSql in Nuke to no avail. i think the problem might
have something to do with pathing, because this works for me in a
shell.
from PyQt4 import QtGui, QtCore, QtSql
app = QtGui.QApplication([]) #need this line for QtSql to work
hasDriver = QtSql.QSqlDatabase.isDriverAvailable("QMYSQL")
in a shell, hasDriver returns True. inside of Nuke 6.2v4, hasDriver is False.
i've taken the sys paths from the shell, and sys.path.append'ed and
nuke.pluginAddPath'ed each path in my menu.py, but i'm still getting
False for hasDriver.
the driver is located here:
C:/python26_64/Lib/site-packages/PyQt4/plugins/sqldrivers
this is maddening. does anyone have any ideas why this might be happening?
Nuke 6.2v4
Windows XP_64 (i know, i know)
thanks all,
sally
_______________________________________________
Nuke-python mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python