#include <QtXml/qdom.h> #ifndef QDOM_H #ifndef QT_NO_DOM class QDomNode{ /* Some contents are skipped to improve readability */ public: class QDomNode lastChild() const /* ... */ }; #endif // QT_NO_DOM #endif // QDOM_H