Building sqlite3 driver plugin for ARM(iMX6) platform
Hello Qt Development Community,
I am on a project using SQlite3 database from Qt 5.9.1 application running on an embedded ARM Linux platform. I have tried cross-compiling this driver with my iMX toolchain from Qt source (located in ../Qt/5.9.1/Src/qtbase/src/plugins/sqldrivers/sqlite) through QtCreator v4.4.1. I'm fairly confident the toolchain mostly works, since I've compiled a fairly complicated Qt application with it and confirmed its operation on target hardware.
Here's some of the sample output I've encountered during the compile:
../Qt/5.9.1/Src/qtbase/src/plugins/sqldrivers/qtsqldrivers-config.pri: No such file or directory
Project ERROR: Could not find feature system-sqlite.
18:24:52: The process "/opt/fsl-imx-fb/4.1.15-2.1.0/sysroots/x86_64-pokysdk-linux/usr/bin/qt5/qmake" exited with code 3.
Error while building/deploying project sqlite (kit: iMX6 Qt5 Kit)
When executing step "qmake"
18:24:52: Elapsed time: 00:00.
I have curiously been able to build this Sqlite3 driver plugin from source using Qt 5.7 and deployed it successfully on target. I'm just struggling with Qt 5.9.1 and would appreciate any advice.
Known issue, see https://bugreports.qt.io/browse/QTBUG-58372