Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 192783 - x11-libs/qt : Add option to not compile sql drivers as plugins
Summary: x11-libs/qt : Add option to not compile sql drivers as plugins
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Qt Bug Alias
Depends on:
Reported: 2007-09-17 08:41 UTC by Esa Nuuros
Modified: 2009-03-27 21:29 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---

Patch for qt-4.3.1-r1.ebuild (patch.diff,2.27 KB, patch)
2007-09-17 09:12 UTC, Esa Nuuros
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Esa Nuuros 2007-09-17 08:41:38 UTC
x11-libs/qt has use flags for enabling various SQL drivers for the library. Currently, if enabled, these drivers are always compiled as plugins since the ebuild passes the argument -plugin-sql-<driver> to the configure script when building.

Sometimes compiling them as plugins is not desired (for example to maximize compatibility with other linux distributions). In this case, the drivers can be compiled into libQtSql by providing the argument -qt-sql-<driver> to configure.

This could be implemented by adding a new package specific use flag or changing the default behaviour.

Reproducible: Always
Comment 1 Esa Nuuros 2007-09-17 09:12:28 UTC
Created attachment 131132 [details, diff]
Patch for qt-4.3.1-r1.ebuild

Attached a patch which adds a new local use flag 'nosqlplugins'. If specified, all enabled sql drivers are compiled into libQtSql instead of plugins. If not specified, the drivers are compiled as plugins like before.
Comment 2 Ben de Groot (RETIRED) gentoo-dev 2009-03-27 21:29:33 UTC
Version no longer in portage