I think the "problem" is a missing PostgreSQL dll, not the Qt driver. The driver also needs the dll.