I have witten a GUI app using pyqt5 and includes a QtSql database QSQLITE. The app works perfectly. However when I run pyinstaller to a package my app, the app runs until the time where it has to invoke QtSQL DATABASE QSQLITE. This is the error I get
QSqlDatabase: QSQLITE driver not loaded QSqlDatabase: available drivers:
How do I load the driver so that it can be included when I run pyinstaller.
Thank you