[PyQt] sqlite 'Driver not loaded' problem with different PyQt4 versions

IloChab ilochab at gmail.com
Mon Jun 16 17:19:28 BST 2008

My application uses PyQt4 to access a sqlite DB.

Then I convert it with py2exe into a windows executable.

I use always the same py2exe version (0.6) and after I build my exe, when I
run it,  with some PyQt4 versions I get the  'Driver not loaded' error
trying to access my sqlite db.

Through  the last eight months I found 2 version combinations that don't
work and only one that works:

Qt4      4.2.2 +     PyQt    4.1.1        <===   DON'T work
Qt4 4.3.4 (qt-win-opensource-4.3.4-mingw.exe)+ PyQt  4.3.3
(PyQt-Py2.5-gpl-4.3.3-2.exe) <===   work
Qt4 4.4.0 (qt-win-opensource-4.4.0-mingw.exe)+ PyQt 4.4.2
(PyQt-Py2.5-gpl-4.4.2-1.exe)    <===   DON'T work

I have a similar problem on MacOsX with py2app and there these versions do
not work:

Qt4      4.3.4 +     PyQt    4.3.3        <===   DON'T work

I don't know witch combination works on that platform.
(perhaps there the problem is different).

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20080616/8fb3cdc2/attachment.html

More information about the PyQt mailing list