[Interest] compiling missing sql driver plugins

Oswald Buddenhagen oswald.buddenhagen at qt.io
Tue Jan 24 11:23:15 CET 2017

On Mon, Jan 23, 2017 at 04:09:15PM -0800, Thiago Macieira wrote:
> On terça-feira, 24 de janeiro de 2017 10:54:53 PST Hamish Moffatt wrote:
> > The Qt sources include an SQL driver plugin for Interbase/Firebird which
> > is not included in the binary distributions. Is there a way to compile
> > it without recompiling all of Qt?
> Yes. Download the qtbase source, cd into the dir containing the plugin, qmake 
> && make.
> You may need to pass some variables to qmake to tell where the headers for 
> those libraries are.
> > We've been doing it for a while by going to the source plugin directory
> > and running qmake then compiling, but this has broken on 5.8 due to the
> > new QMAKE_USE referring to library definitions sourced from elsewhere.
> > So I wonder if there is an official way instead.
> Oh... well, that needs to be fixed somehow.
we didn't modularize the plugins' configuration, because we had no idea
how to do it elegantly.

i suppose you might get it to work this way:
- cd qtbase
- qmake -- <your relevant configure options go here>
- cd src/sql
- qmake
- cd ../plugins/sqldrivers
- qmake
- make

More information about the Interest mailing list