Unsolved How to cross compile qsqldriver only of Qt5.6.2
-
I want to use sqlite on Arm ,but I find that I need to put the qsqldriver.so to ..../plugin/qsqldriver same as on ubuntu. So what should I do?
-
@Mihan
I assume you compiled Qt for ARM yourself? If so you simply can add-sql-sqlite
configure -help
output:Database options: -sql-<driver> ........ Enable SQL <driver> plugin. Supported drivers: db2 ibase mysql oci odbc psql sqlite2 sqlite tds [all auto] -sqlite .............. Select used sqlite3 [system/qt]
Check the output summary when running configure.
If you still have no plugin library, try to compile it manually and check the possible errors.
cd <QTDIR>/src/plugins/sqldrivers/sqlite/sqlite.pro # or sqlite2 if needed make make install