Skip to contentSkip to conversation

Qt4 recipes and sql drivers

DISCUSSION Ihar Hrachyshka 3 participants 3 messages Jul 1, 2009 – Jul 10, 2009

lore
Share & tools
lore
#0 lore raw

Hello guys!
For my work project, I need to use Qt with Postgres and possibly Sqlite. For this I modified current qt4.inc configure options and DEPENDS. Seems to work fine.
The question is: should I enable functional sql drivers (as plugins of course) in-tree? The only problem I see here is that compile time for qt4 recipes will be a little longer (to build postgres and sqlite), but runtime dependencies are not bloated with postgres/sqlite things unless you really install the affected sqldrivers packages. If you will approve this change then I'll send a patch to ML. Thanks.

#1 lore raw
Quoted 11 lines · Ihar Hrachyshka

Hello guys!
For my work project, I need to use Qt with Postgres and possibly Sqlite. For this I modified current qt4.inc configure options and DEPENDS. Seems to work fine.
The question is: should I enable functional sql drivers (as plugins of course) in-tree? The only problem I see here is that compile time for qt4 recipes will be a little longer (to build postgres and sqlite), but runtime dependencies are not bloated with postgres/sqlite things unless you really install the affected sqldrivers packages. If you will approve this change then I'll send a patch to ML. Thanks.

Building qt4 already takes eons on my core2quad, so an extra few minutes won't hurt.

regards,

Koen

#2 lore raw
In reply to Ihar Hrachyshka
Quoted 3 lines · On Wednesday 01 July 2009 20:21:11 Ihar Hrachyshka wrote:

Hello guys!
For my work project, I need to use Qt with Postgres and possibly Sqlite.

Do you have a pg_config in your staging directory? For me the host pg_config is used and my QtE build started to fail?

z.