Uploading an xml file to Qt app