how to prepare the development environment in macOS
I am new user and want to learn Qt. My development environment is a macOS (Mojave). I read the Documentation, but I could not understand how to configure QPSQL for connection to PostgreSQL database and other details about.
What exactly did you not understood ?
The QSqlDatabase setup part in your code ?