PDA

View Full Version : Problems with QSqlDatabase



187Proof
19th October 2008, 12:29
Hello world,

when using this instruction:

QSqlDatabase db = QSqlDatabase::addDatabase("QSQLITE");

my App termintes within a second. Also with other sqldrivers and a new project I am getting this mess.

qt 4.4.3 was configured with -qt-sql-sqlite and -plugin-sql-sqlite
I am using win xp64 and mingw with eclipse.

:crying:

thanks for any help

janus
19th October 2008, 15:19
Hi,

i guess you need to configure with -qt-sql-sqlite OR -plugin-sql-sqlite

187Proof
19th October 2008, 19:35
Hi, thanks for your help buddy.

I don't think so, because i was always installing qt with -qt-sql-sqlite and -plugin-sql-sqlite parameters and used sqlite without any problems.

janus
19th October 2008, 22:20
ok, just guessing ... ;)