I don't see any code relevant to actually parsing the file in your application. Am I missing something? If not, then you'll want to take a look at QDomDocument and QXmlStreamReader.