[Interest] compiling missing sql driver plugins
hamish at risingsoftware.com
Tue Jan 24 01:14:59 CET 2017
On 24/01/17 11:09, 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.
Now I've set QMAKE_INCDIR_IBASE, QMAKE_LIBDIR_IBASE and QMAKE_LIBS_IBASE
and it's working. This is actually much nicer than the old system.
(Discovered those variables via qmake -d.)
More information about the Interest