[PyQt] QODBC driver not loaded (PyQt 4.3b1)
Phil Thompson
phil at riverbankcomputing.co.uk
Mon Aug 13 14:21:46 BST 2007
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