have you tried adding the driver path manually (in the .conf or through
qapp.AddLibraryPath( \PyQt4\plugins\sqldrivers) )
?


 

-- 
  Jon Swindells
  [email protected]

On Wed, Jul 23, 2014, at 05:17 PM, Simon Anderson wrote:
> 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
> 

Reply via email to