Fixed warnings from getQML, added sourcefile check to createQML.