Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 192783

Summary: x11-libs/qt : Add option to not compile sql drivers as plugins
Product: Gentoo Linux Reporter: Esa Nuuros <esa.nuuros>
Component: [OLD] LibraryAssignee: Qt Bug Alias <qt>
Status: RESOLVED CANTFIX    
Severity: enhancement    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Patch for qt-4.3.1-r1.ebuild

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