QSqlDatabase: QPSQL driver not loaded in Qt5 on Ubuntu 20.04 – Available drivers: ()
I’m developing an application using Qt5 on Ubuntu 20.04, and I need to connect to a PostgreSQL database. However, I’m encountering an issue where the QPSQL driver isn’t loaded. Here’s the error message I’m receiving: