On 10/25/2012 11:32 PM, Martin Dobias wrote: > On Fri, Oct 26, 2012 at 3:54 AM, Alex Mandel <[email protected]> > wrote: >> On some OS it looks like the location of the python bindings to qtsql >> has moved and is causing any plugin that imports to fail. >> >> Specifically on ubuntu 12.04 and newer it's inside pyside. I'm not sure >> if this affects other systems (Win/Mac). So it might be advised for >> plugin authors to do an if statement or a try/except to catch the right >> load. >> >> Old: >> from PyQt4.QtSql import * >> >> New: >> from PySide.QtSql import * > > Hi Alex > > are you sure it has been moved? PyQt4 and PySide are separate > projects, both of them should have their own QtSql module. Isn't that > just missing python-qt4-sql package on your side? Maybe your fix > works, but I would be afraid of some incompatibilities between PyQt4 > and PySide that are hard to predict. > > Martin >
Ah I think I was having trouble finding the pyqt version of it. I think I found it now in the package: python-qt4-sql Will double check that one works. Thanks, Alex _______________________________________________ Qgis-developer mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/qgis-developer
