qt-postgresql

Qt SQL Database Driver for PostgreSQL connectivity

brewmacoslinux
Try with needOr install directly
Source

About

Qt SQL Database Driver

Commands

qt-postgresql

Examples

Link PostgreSQL driver to Qt application at compile time$ qmake -config release && make
Verify PostgreSQL driver availability in Qt plugins$ find $(brew --prefix qt-postgresql) -name '*sql*postgres*'
Set Qt plugin path to include PostgreSQL driver$ export QT_PLUGIN_PATH=$(brew --prefix qt-postgresql)/plugins:$QT_PLUGIN_PATH