qsqlite missing from fsl-image-qt5-validation-imx

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

qsqlite missing from fsl-image-qt5-validation-imx

1,095 Views
terry1
Contributor III

Got these message when running a qt app that uses sqlite.

QSqlDatabase: QSQLITE driver not loaded
QSqlDatabase: available drivers:

0 Kudos
4 Replies

951 Views
terry1
Contributor III

Downloaded qt-everywhere-src-5.10.1.tar.xz, built(not easy, takes a long time) and installed. Sqlite is now working, looks like the Yacto supplied qt is incomplete.

Also a platform linuxfb is now available and working.

0 Kudos

951 Views
joanxie
NXP TechSupport
NXP TechSupport

I don't think i.mx products qt supports this, you can refer to the qt forum:
https://forum.qt.io/topic/55860/qsqlite-driver-does-not-load

0 Kudos

951 Views
terry1
Contributor III

Why are you pointing me at windows information, the imx8 is linux.

Thanks,

Terry

0 Kudos

951 Views
joanxie
NXP TechSupport
NXP TechSupport

I just searched from google, you need to check if current bsp has this driver firstly,  try to refer to the qt forum, I searched a link, hope helpful for you

https://doc.qt.io/qt-5/sql-driver.html

0 Kudos