I had a similar problem under linux, adding all the dependencies to the .pro file fixed the linking for me, but I don't understand why it is required, it should JustWork ?
Anyway, try adding:
QT += network sql svg script xmlpatterns
to your project .pro file and it should build and link.