Forward declare QDomDocument

Saves other packages from including QT+=xml in their project file until
actually needed.