I have tried every type of XML file using the IOExamples>ExXmlImport and everything returns import failed at the command line. I tried XML with attributes and XML with elements only. Nothing works. I haven't messed with the code, it is the original provided in QCAD.
I read through the QT documentation, but the only thing I can find is that they say you have to set the Content Handler and the Error Handler. I tried adding that, but it didn't help.
Code: Select all
xmlReader.setContentHandler(handler);
xmlReader.setErrorHandler(handler);