can not include QtXml in header file
I want to use QT Xml function to read file from xml. However when I type #include<QtXml> or #include <QXmlSimpleReader> at the beggining of my mainwindow.h and build it, same errors always come out like"QtXml: no such file or directory" "QXmlSimpleReader: no such file or directory". I have checked the qt/include folder and there do have QtXml and QXmlSimpleReader down there..
Anyone can help me on this problem???
Thanks a lot!!
Re: can not include QtXml in header file
Did you add
[CODE]QT += xml[/CODE]
to the project file as documentation suggest?