Home  
Login
Username:

Password:

Remember me



Lost Password?

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

Members: 0
Guests: 20

more...
Support us!
Recent OS4 Files
OS4Depot.net
Report message:*
 

Re: QSqlDatabase: QSQLITE driver not loaded

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

@Chris

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