appfruits / buildroot-boards

This is a collection of build root boards that we have configured for our own project as a reference and starting point for others
GNU General Public License v2.0
4 stars 0 forks source link

qsqlite missing driver for QT5 #4

Open ezamp opened 9 years ago

ezamp commented 9 years ago

Hello, today I noticed that the drivers for the database connections with QT are not compiled. In Buildroot/buildroot/output/build/qt5base-5.4.1/src/plugin/sqldrivers the file libqsqlite.so does not exist.

how do I fix? thank you

pschuster commented 9 years ago

You will need to add it with make menuconfig. You will need to browse the repository under "Target packages". I think it should be in Libraries->Database->sqllite. It sometimes takes a lot of time to browse the tree in menuconfig. It's sometimes faster to have a look in "Config.in" in the packages folder of buildroot. This is the data used by menuconfig and can be easily read and searched with a text editor.

Hope that helps, Phillip

pschuster commented 9 years ago

I don't know if the QT package in buildroot automatically configures QT with database support when it finds the libsqllite. If not you will have to look in the QT packages using make menuconfig to compile QT with database support.