Postgres drivers are not working with my QT project
I have build Postgres drivers as mentioned here ]http://doc.qt.io/qt-5/sql-driver.html
My problem is when I run the build I get the error of "no driver found".
Please Note that I have also placed the driver in the same folder has that of my exe file.
Thanks in advance
In my code
I am getting db.isValid always false
Re: Postgres drivers are not working with my QT project
check the doc for complete the connection process : you must set the database's name, password and host . and you can also copy all postgree's dlls into ...\Tools\QtCreator\bin folder !