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

ErichJ
13th March 2014, 18:36
If you add:

QT += XML


There's less chance you'll run into other errors.http://www.qtcentre.org/images/icons/icon7.png