Driver qsql for ARM architecture

0

I have a problem which is that when compiling an application with toolchains to a Card with Yocto Linux I can not connect to the database since the qsqlite driver is not found on the card and there are no other drivers available, this is the error that appears on the debug screen

QSqlDatabase: QSQLITE driver not loaded
QSqlDatabase: available drivers: 
QSqlQuery::prepare: database not open

I would like to know if anyone has knowledge of this error.

In my .pro file I have

QT += sql 
    
asked by Aarón Gutiérrez 14.07.2017 в 01:26
source

1 answer

0

By default Qt is presented as external libraries (DLLs). In order for your executable to make use of this driver, it is necessary to bring the corresponding DLL with your executable.

To know what dependencies are necessary it is better to take a look at this guide (it's too much extensive enough to comment on in the answer).

    
answered by 04.08.2017 в 11:34