I have problems with a #include <QDomElement> line in a library (file not found). The file is here but it seems that the compiler does not make the translation QDomElement -> qdomelement.h
Where is the problem?
I have problems with a #include <QDomElement> line in a library (file not found). The file is here but it seems that the compiler does not make the translation QDomElement -> qdomelement.h
Where is the problem?
did you set path to Qt's includes?
yes but it seems that it is now necessary to include QT/XML path...
did you add QT += xml to your pro-file?
Last edited by spirit; 21st October 2008 at 10:22. Reason: reformatted to look better
No because it works without it on my MacOSX computer but I have this problem on Linux Ubuntu and I suppose the reason is here. I will check it ASAP.
let's look to documentation:
Configuring the Build ProcessTo 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
Caius Aérobus (24th October 2008)
Bookmarks