[PyQt] Re: Re: QODBC driver not loaded (PyQt 4.3b1)

DDGG ddcatgg at gmail.com
Mon Aug 13 18:23:49 BST 2007

Thanks for your help! But my python is ActivePython which build with
VC.Net 2003, and the Qt4.3.1 i got was build with mingw
(qt-win-opensource-4.3.1-mingw.exe), so that build PyQt myself is a
mission impossible to me. *_*

Another question i wonder, why did you put together everything needed
to the binary installer for Windows of the latest PyQt? I miss the
light-level PyQt which only 5.xMB and load any needed library or dll
from Trolltech's Qt build.

If you would like to include the ODBC Qt driver in the next version of
the PyQt installer, thank you, and i hope you include the codec
library which named "Qt\4.3.1\plugins\codecs\qcncodecs.dll" too.
Thanks a lot!

Apologize for my foolish, and poor english...

Your friend,

> Date: Mon, 13 Aug 2007 14:21:46 +0100
> From: Phil Thompson <phil at riverbankcomputing.co.uk>
> Subject: Re: [PyQt] QODBC driver not loaded (PyQt 4.3b1)
> To: pyqt at riverbankcomputing.com
> Message-ID: <200708131421.46139.phil at riverbankcomputing.co.uk>
> Content-Type: text/plain;  charset="utf-8"
> On Monday 13 August 2007 1:49 pm, 叮叮当当 wrote:
> > Hello friends!
> >
> > i use ms-access db in my pyqt app. it's work fine several days ago,
> > with pyqt4.2(PyQt-gpl-4.2-Py2.5-Qt4.2.3.exe).
> >
> > After i had updated my pyqt to 4.3b1 (current newest version), my app
> > got an error-message when it run:
> >
> > QSqlDatabase: QODBC driver not loaded
> > QSqlDatabase: available drivers: QSQLITE
> > QSqlQuery::exec: database not open
> >
> > I think it was the odbc-plugin not been found by PyQt, but i don't
> > know how to tell it. (g:\qt\4.3.1\plugins\sqldrivers\qsqlodbc4.dll)
> >
> > Could someone help me?
> You will need to build PyQt yourself and use Trolltech's Qt installer as
> before. I may include the ODBC Qt driver in a later version of the PyQt
> installer.
> Phil

More information about the PyQt mailing list