Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
How to add QMySQL driver for Raspberry Pi?
Ramanathan last edited by Ramanathan
i am also having the same problem while cross compiling to raspberry pi 3 on ubuntu 16.04
i have the same error
QSqlDatabase: QMYSQL driver not loaded
QSqlDatabase: available drivers: QSQLITE
i have the same issue in desktop(ubuntu 16.04) also and i solved it by fallowing this guidelink text
can you please help me
Hi and welcome to devnet,
It means that the MySQL plugin wasn't build. As already suggested in the other topic, do you have the needed dependencies in the sysroot you use for cross-compilation ?