Error loading QSQLITE

Forum for posting problems using QxOrm library

Error loading QSQLITE

Postby jduran » Thu Jun 07, 2012 1:16 pm

I've compiled QxOrm for ARM processors running on linux. When the application is executed, the following error is shown:

QSqlDatabase: QSQLITE driver not loaded
QSqlDatabase: available drivers:
[QxOrm] qx::QxSqlDatabase : unable to open connection to database
Driver not loaded Driver not loaded
[QxOrm] 'qx::dao' internal error <create table>
[QxOrm] error retrieving valid sql connection to database
Error configuring the application: [QxOrm] 'qx::dao' internal error <create table> [QxOrm] error retrieving valid sql connection to database
./start.sh: line 4: 778 Segmentation fault ./gem_heart_two -qws


Does the error "QSQLITE driver not loaded" mean that the libsqlite library has not been found? if not, what does it means?

Joaquim Duran
jduran
 

Re: Error loading QSQLITE

Postby QxOrm admin » Thu Jun 07, 2012 3:22 pm

Hi,

Does the error "QSQLITE driver not loaded" mean that the libsqlite library has not been found ?

Yes, exactly !
Your application doesn't find your SQLite driver, or doesn't arrive to load it.
QxOrm admin
 

Re: Error loading QSQLITE

Postby QxOrm admin » Fri Jun 08, 2012 8:12 am

Just to be more accurate than my previous answer :
Your application doesn't find your Qt plugin SQLite driver : it's located to ./plugins/sqldrivers/ directory of your Qt package.
And you have to deploy this Qt SQLite plugin with your application.
More details about Qt SQL drivers here : http://doc.qt.nokia.com/4.7-snapshot/sql-driver.html
QxOrm admin
 

Re: Error loading QSQLITE

Postby jduran » Sat Jun 09, 2012 8:50 am

You were right, the problem was that the Sqlite driver for Qt was not intalled.

Thank you for your help.

Joaquim Duran
jduran
 


Return to QxOrm - Help

Who is online

Users browsing this forum: No registered users and 4 guests

cron