Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
PyQt5: QMYSQL driver not loaded
cedricmatalog last edited by cedricmatalog
I installed PyQt5 using homebrew. I tried connecting to sqlite and it works but when I try to connect to MySQL this error appears already tried googling on how to build mysql driver for PyQt5 no luck.
QSqlDatabase: QMYSQL driver not loaded
QSqlDatabase: available drivers: QSQLITE
It's not the problem of PyQt5. The Qt version you are using only provides the SQLite plugin it seems. You should check with homebrew whether they provide other Qt SQL plugins.