使用QDomDocument自定义xml文件的读写类,构建(Build)不通过

编译时出现如下错误:

error: undefined reference to `QDomDocument::~QDomDocument()'

error: undefined reference to `QDomElement::text() const'

-------------------------------------------------------------------------------------

修改方法为: 打开.pro工程文件,将: QT += core gui

修改为:
QT += core gui
xml

相关文章:

  • 2021-07-02
  • 2021-04-15
  • 2021-08-31
  • 2021-07-25
  • 2021-10-09
  • 2021-06-04
  • 2022-12-23
  • 2021-12-26
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-12-14
  • 2021-07-15
  • 2022-01-19
  • 2022-12-23
  • 2021-10-28
相关资源
相似解决方案