Hi Simon,
I had a similar issue a while back and my solution included a custom batch
file to set environment variable QT_PLUGIN_PATH then start Softimage.
call "C:\Program Files\Autodesk\Softimage
2013\Application\bin\setenv.bat"
set
QT_PLUGIN_PATH=%XSI_HOME%\Application\python\Lib\site-packages\PyQt4\plugins
start "" "C:\Program Files\Autodesk\Softimage
2013\Application\bin\XSI.exe" %*
François
2014-07-23 10:17 GMT-04:00 Simon Anderson <[email protected]>:
> Hi List,
>
> Its been a while, I hope everyone is well.
>
> I was wondering if anyone has encountered this error and found a way
> around it (there was a thread a while back which had some mention of this
> problem, but didn't have a solution).
> We have been performing mySQL queries outside of soft using Qt's QSQL
> framework, it has been great, and today we started testing it in Softimage,
> and we hit a wall. When you run the widget in softimage, there are no
> available drivers. In Qt the SQL drivers get loaded when QApplication get
> initialized, and initializes the drivers.
>
> I have been trying to figure out a way of reinitializing the drivers, by
> calling QtCore.QCoreApplication, but this doesn't help.
>
> Any suggestions would be great.
>
> Thanks,
> Simon
>
>