现在的位置: 首页 > 综合 > 正文

When I write #include it gives error “no such file or directory”.

2013年06月02日 ⁄ 综合 ⁄ 共 389字 ⁄ 字号 评论关闭

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

 

抱歉!评论已关闭.