You are not logged in.

#1 2009-10-04 17:31:27

canuckkat
Member
Registered: 2009-08-28
Posts: 44

[Solved] Can't find sqlite plugin for QT (quassel)

It's called qt4-sqlite-plugin in other distros. I'm not quite sure what's wrong since I have qt installed.

Selected storage backend is not available: "SQLite" 
Could not initialize any storage backend! Exiting... 
Currently, Quassel only supports SQLite3. You need to build your Qt library with the sqlite plugin enabled in order for quasselcore to work.

2.6.30-ARCH, x86_64.

Last edited by canuckkat (2009-10-06 19:10:15)

Offline

#2 2009-10-04 18:17:10

intgr
Member
Registered: 2009-10-02
Posts: 44

Re: [Solved] Can't find sqlite plugin for QT (quassel)

The Arch "qt" package already includes the SQLite backend. You only need to install "sqlite3" and it should work.

[marti@newn]% pacman -Ql qt |grep sqlite
...
qt /usr/lib/qt/plugins/sqldrivers/libqsqlite.so
[marti@newn]% ldd /usr/lib/qt/plugins/sqldrivers/libqsqlite.so |grep sqlite
    libsqlite3.so.0 => /usr/lib/libsqlite3.so.0 (0x00007fe00aa04000)
[marti@newn]% pacman -Qo /usr/lib/libsqlite3.so.0
/usr/lib/libsqlite3.so.0 is owned by sqlite3 3.6.18-1
[marti@newn]% python
...
>>> from PyQt4 import QtSql
>>> db=QtSql.QSqlDatabase('QSQLITE')
>>> db.setDatabaseName('/tmp/mydb.sqlite')
>>> db.open()
True

Last edited by intgr (2009-10-04 18:21:16)

Offline

#3 2009-10-06 02:25:33

canuckkat
Member
Registered: 2009-08-28
Posts: 44

Re: [Solved] Can't find sqlite plugin for QT (quassel)

You would think, however sqlite3 is already installed. *sigh*

Any other ideas?

Offline

#4 2009-10-06 05:33:05

intgr
Member
Registered: 2009-10-02
Posts: 44

Re: [Solved] Can't find sqlite plugin for QT (quassel)

canuckkat wrote:

Any other ideas?

Huh? My post is full of ideas. What do you get when you execute the same commands as I did?

Offline

#5 2009-10-06 19:09:58

canuckkat
Member
Registered: 2009-08-28
Posts: 44

Re: [Solved] Can't find sqlite plugin for QT (quassel)

Sorry, lack of sleep was speaking.

And that's it. pyqt wasn't install. Thanks!

Offline

Board footer

Powered by FluxBB