The module is not actively maintained anymore. Please use the QXmlStreamReader and QXmlStreamWriter classes in Qt Core instead.
要包括模塊類定義,使用以下指令:
#include <QtXml>
要鏈接到模塊,添加此行到
qmake
.pro
文件:
QT += xml
The Qt XML C++ 類 頁麵給齣此模塊中可用類的概述。
Qt XML 模塊在商業許可下是可用的來自 Qt 公司 。此外,它在自由軟件許可下也是可用的。從 Qt 5.4 起,這些自由軟件許可是 GNU LGPL (次一般公共許可) 第 3 版 ,或 GNU GPL (一般公共許可) 第 2 版 。見 Qt 許可 進一步瞭解細節。