Parsing XML: QWaitCondition: Destroyed while threads are still waiting
Hi all,
I want to parse a xml response while parsing it shows following error whether any problem with my code. Please help me.
Code:
bool ok = reader->parse(xmlSrc);
if(ok){
}else{
}
It shows following error while it is running If anyone knows please help me...
Re: Parsing XML: QWaitCondition: Destroyed while threads are still waiting
Not sure if this is any way related to your problem but it seems you are calling parse() on a pointer that is never initialized:
Code:
bool ok = reader->parse(xmlSrc); // !!!!
My guess is that this causes your program to crash, and the QWaitCondition being destroyed is a side-effect of that.