Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

QPSQL driver for QT 6.0.1 at Linux POSTGRESQL



  • Hi all,

    I installed Linux mint 20.04 Cinnamon and intalled QT 6.0.1

    After workig an hour I upgraded my code base from QT 5 .6 and when I try to test my project I have new suprise there's no QPSL driver for the installation..

    I downloaded the QT source
    My PostgreSQL 13 was working well..
    I installed pglib-dev
    I installed postgresql-client also..

    What is next I have to get rid of this..

    QSqlDatabase: QPSQL driver not loaded
    QSqlDatabase: available drivers: QSQLITE QMARIADB QMYSQL QODBC
    QSqlDatabase: an instance of QCoreApplication is required for loading driver plugins


  • Lifetime Qt Champion

    @zeroptr said in QPSQL driver for QT 6.0.1 at Linux POSTGRESQL:

    What is next I have to get rid of this..

    Build the Qt postgresql as described in the documentation maybe?


Log in to reply