I found my problem at least as to why I got my error. My XMLs were in a different directory than my executable and when getting a QDir, using the [] operator only returned the filename and when I created the QFile I needed to make sure to include the actual path to the files when giving the filename to create the QFile. Now that I give the path/filename the files don't error out. Thanks for your help anyways!