In my demo, when I use

if(reader.name() == "yweather:condition")
{
...
}

but it seems that "reader.name == yweather.condition" never be true. How can I parse this "yweather:condition" use QXmlStreamReader? Some one help me, thanks a lot.