code like this:
Paser::Paser(QObject *parent)
: QXmlDefaultHandler()
To copy to clipboard, switch view to plain text mode
Paser *handler;
reader.setContentHandler(handler);
reader.setErrorHandler(handler);
bool xx;
xx = reader.parse(inputSource);
QXmlInputSource inputSource(&file);
QXmlSimpleReader reader;
Paser *handler;
reader.setContentHandler(handler);
reader.setErrorHandler(handler);
bool xx;
xx = reader.parse(inputSource);
To copy to clipboard, switch view to plain text mode
I trace the steps when debugging, seems that the program never enter the "paser.cpp" file, what does that mean?
Bookmarks