Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
假设我们有一个带有下一个内容的 QString:<tag attr1="string" attr2=34 />如何让 Qt 像往常一样解析这个标签 xml(不使用 QtWebKit)标签说让 sring 对象获取标签名称、值string和attr1值?intattr2
<tag attr1="string" attr2=34 />
string
attr1
int
attr2