Created attachment 284351 [details] Patch for qt-webkit-4.8.0_beta1 qt-webkit is built without the -system-sqlite option, and due to Qt modularization in Gentoo its build scripts seem to be unable to derive the correct configure options themselves. As the result, qt-webkit ends up being built with its own copy of SQLite, and that messes things a lot when webkit is used in parallel with QtSql module and the QSQLITE driver (which uses system SQLite of another version): at best, the latter misbehaves and fails to work, at worst, the whole application segfaults. This is reproducible for me with at least Qt 4.8 beta1. As a possible solution, I've added the -system-sqlite option to the list of options for qt-webkit, and that seems to fix the issue: everything builds and works correctly, both Qt Webkit and the QtSql module with the QSQLITE driver. It's worth noting that other qt-webkit ebuilds also don't contain the -system-sqlite flag, so maybe it's worth adding it there as well. +++ This bug was initially created as a clone of Bug #344609 +++
Right, I forgot to backport this patch from portage. I will take care of it
This is now fixed in all qt-webkit ebuilds