Qt uses the actual database software as backends.
As long as the database you use supports it, Qt will support it too.

Of course, you need to make sure that the computer containing the database is accessible. Are the ports open? Is a server running? etc...