[PyQt] Build PyQt with sql Driver plugins

Phil Thompson phil at riverbankcomputing.co.uk
Tue Sep 25 16:37:21 BST 2007


On Tuesday 25 September 2007, paulino1 at sapo.pt wrote:
> > [PyQt] Build PyQt with sql Driver plugins
> > Phil Thompson phil at riverbankcomputing.co.uk Tue Sep 25 15:23:53 BST
> > 2007
>
> ---------------------------------------------------------------------------
>-----
>
> > On Tuesday 25 September 2007, paulino1 at sapo.pt wrote:
> >> In the Pyqt4 docs i find the option -t PLUGIN for the configure command.
> >>
> >> By "PLUGIN" I shall write the dll filename (qtsqlodbc4.dll) or the
> >> driver name QODBC, or the full path to the dll?
> >>
> >> I tried -t qtsqlodbc4 and don't have the driver availlable.
> >
> > The docs say that the flag is to be used when Qt has been built as
> > static libraries - so there won't be any .dll files. Look in the
> > plugin directories to see what .lib files have been created when Qt
> > was built.
> >
> > Phil
>
> I upgraded Qt from 4.2 to 4.3.1 and PyQt from 4.1.1 to 4.3.0 with the
> binary installers from Trolltech and Riverbank.
> And the QODBC driver was gone...
>
> I read in a previous post that I'd have to build PyQt by myself, I did
> it and now QSQLITE was gone also.
>
> I'm sorry, I realy don't know what is a static library... I only know
> python.
>
> Do I have to build Qt also?
>
> How can I have PyQt-4.3 and Qt-4.3.1 with the QODBC abd QSQLITE drivers?
>
> I don't find any .lib file in the plugin directories.

I suggest you wait for a few days for the release of PyQt 4.3.1. The GPL 
Windows installer will include ODBC support.

Phil


More information about the PyQt mailing list