Example Qt app to connect to PostgreSQL databases