Remember me

Lost Password?

Register now!
Who's Online
12 user(s) are online (3 user(s) are browsing Forums)

Members: 0
Guests: 12

Support us!
Recent OS4 Files
Report message:*

Re: QSqlDatabase: QSQLITE driver not loaded

Subject: Re: QSqlDatabase: QSQLITE driver not loaded
by alfkil on 2015/1/21 19:02:14


In my experience, it is not irrelevant. I think there are instances of the linker needing to actually make the connection to rhe relevant symbols, although the details elude my memory. Anyways, just the indication, that the linker warnings still appear although thw relevant objects are in the lib directory, imdicates, that there is something wrong at the linker level.

Probably the problem is, that you forgot to add the rwlevant dependencies to you link. Ie.

ln <whatever> -l QtSql -l sqlite3

This is all handled automatically by the build process if you use qmake or cmake. Which is one of the many reasons to stick to those.
Powered by XOOPS 2.0 © 2001-2014 The XOOPS Project