[Development] standalone building of sql plugins

Samuel Gaist samuel.gaist at edeltech.ch
Tue Feb 7 17:35:37 CET 2017


> On 7 Feb 2017, at 17:25, René J.V. Bertin <rjvbertin at gmail.com> wrote:
> 
> Hello,
> 
> MacPorts has always shipped the Qt sql plugins as separate packages, so the main (QtBase) component could be built without unnecessary libraries installed. That is, qtbase is configured with -no-sql-$driver
> 
> This was implemented quite simply: to build say the PostGresql plugin we'd unpack the qtbase component (except for the mkspecs directory), and invoke the installed qmake in /path/to/source/qtbase/src/plugins/sqldrivers/psql . Run make and make install, and the libqsqlpsql.dylib binary would be installed in the appropriate location.
> 
> This approach is broken in Qt 5.8.0; is it still possible to build these plugins separately? Would this work by calling qmake in qtbase/src/sql for instance, with the appropriate arguments?
> 
> Thanks!
> 
> R.
> _______________________________________________
> Development mailing list
> Development at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/development

Hi,

https://bugreports.qt.io/browse/QTBUG-58372

might be of help.

Regards,

Samuel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: Message signed with OpenPGP
URL: <http://lists.qt-project.org/pipermail/development/attachments/20170207/8a066c9c/attachment.sig>


More information about the Development mailing list