PDA

View Full Version : QDomDocument - cannot find


steg90
12th July 2007, 16:15
Hi,

My application complains showing it cannot find QDomDocument in my include directive :

#include <QDomDocument>

Am I missing something? I'm sure when I installed Qt4.3 I turned on the XML option.

I am using Windows XP.

Any help is appreciated,

Regards,
Steve

guilugi
12th July 2007, 16:19
Did you insert this line, in your project file ?

QT += xml

steg90
12th July 2007, 16:20
Hi,

I had to do :

#include <QtXml\QDomDocument>

Duh!

Thanks anyway,

Steve