Bug #48
Include and use sqlite directly rather than the QtSql abstraction
0%
Description
Quassel needs to have sqlite support. Right now, we depend on Qt4 having sqlite support installed, which is not always the case. If Qt4 has been compiled without sqlite support, Quassel cannot be run.
We should therefore include the sqlite library within our sources and integrate it ourselves. This is encouraged by the sqlite people, and also made very easy because they provide a single *.c file containing all the code. We'd only need to compile this file together with the core to be able to use the lib.
Of course, SqliteStorage would have to be rewritten to not use Qt's SQL layer, but to use the lib directly.
Positive side effect: Make sqlite use utf8 instead of utf16. Since we mostly store strings, this should almost halve the size of the storage file.
History
#1 Updated by Sputnick about 16 years ago
Do we still want that? I'd say yes (to get rid of that darn dependency), but maybe it's not worth the effort...
#2 Updated by EgS about 16 years ago
Don't think it's worth the hazzle.
If we're going to integrate a dbe directly then I'm voting for mysql embedded.
Featuring support for Postgres, MySQL and MySQL embedded we would have 2 storage backends to maintain while fulfilling most needs.
#3 Updated by Sputnick almost 16 years ago
- Priority changed from High to Normal
#4 Updated by EgS almost 16 years ago
- Status changed from Feedback to Rejected
- Assignee set to EgS
- Version set to 0.3.1+
Not worth the hazzle...