int main(int argc, char *argv[]){ QCoreApplication a(argc, argv); QLocale loc = QLocale::system(); return a.exec();}
<locals-v -c -a 0 local.loc<locals-v -c -a 0 local.loc<locals-v -c -a 0 local.loc DEBUG: , complex dumpersddata=[{iname="local.loc",name="loc",type="class QLocale",exp="*(QLocale *)0x3cfa28",address="0x3cfa28",size="4",valueencoded="0",value="class QLocale",valueenabled="true",valueeditable="false",numchild="2",children=[{iname="local.loc.d",name="d",type="class QSharedDataPointer<QLocalePrivate>",exp="*(untitled!QSharedDataPointer<QLocalePrivate> *)0x3cfa28",address="0x3cfa28",size="4",valueencoded="0",value="class QSharedDataPointer<>",valueenabled="true",valueeditable="false",numchild="32"},{iname="local.loc.staticMetaObject",name="staticMetaObject",type="<Value unavailable error>",exp="*(untitled!<Value unavailable error> *)0",valueencoded="0",value="",valueenabled="true",valueeditable="false",numchild="0"}]}] <Rebuild Watchmodel 94 @ 01:05:06.249 [5735ms] >sFinished retrieving data DEBUG: , complex dumpersddata=[{iname="local.loc",name="loc",type="class QLocale",exp="*(QLocale *)0x3cfa28",address="0x3cfa28",size="4",valueencoded="0",value="class QLocale",valueenabled="true",valueeditable="false",numchild="2",children=[{iname="local.loc.d",name="d",type="class QSharedDataPointer<QLocalePrivate>",exp="*(untitled!QSharedDataPointer<QLocalePrivate> *)0x3cfa28",address="0x3cfa28",size="4",valueencoded="0",value="class QSharedDataPointer<>",valueenabled="true",valueeditable="false",numchild="32"},{iname="local.loc.staticMetaObject",name="staticMetaObject",type="<Value unavailable error>",exp="*(untitled!<Value unavailable error> *)0",valueencoded="0",value="",valueenabled="true",valueeditable="false",numchild="0"}]}] <Rebuild Watchmodel 95 @ 01:05:06.252 [3ms] >sFinished retrieving data DEBUG: , complex dumpersddata=[{iname="local.loc",name="loc",type="class QLocale",exp="*(QLocale *)0x3cfa28",address="0x3cfa28",size="4",valueencoded="0",value="class QLocale",valueenabled="true",valueeditable="false",numchild="2",children=[{iname="local.loc.d",name="d",type="class QSharedDataPointer<QLocalePrivate>",exp="*(untitled!QSharedDataPointer<QLocalePrivate> *)0x3cfa28",address="0x3cfa28",size="4",valueencoded="0",value="class QSharedDataPointer<>",valueenabled="true",valueeditable="false",numchild="32"},{iname="local.loc.staticMetaObject",name="staticMetaObject",type="<Value unavailable error>",exp="*(untitled!<Value unavailable error> *)0",valueencoded="0",value="",valueenabled="true",valueeditable="false",numchild="0"}]}] <Rebuild Watchmodel 96 @ 01:05:06.255 [3ms] >sFinished retrieving data
QDomDocument domDoc;domDoc.setContent( валидный xml текст);QDomNodeList dnl = domDoc.elementsByTagName("sometag");
int cnt = dnl.count();