您的位置:首页 > 其它

When I write #include <qdom.h> it gives error "no such file or directory".

2013-10-14 17:06 555 查看

No such file or directory error

Hi,

I have windows 7 and QT4. I'm trying to use qdom for xml parsing. When I write #include <qdom.h> it gives error "no
such file
or directory". What can I do about that? Qt recognize qdom.h when I write <qd it suggest qdom.h but it gives that error. Thank you.

//alp

To include the definitions of the module's classes, use the following directive:

#include <QtXml>

To link against the module, add this line to your qmake .pro
file:

QT += xml
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: