Hi

I am trying to use QDomDocument. When I try to compile I get: QDomDocument was not declared in this scope.

I heard that you need to add "QT += XML" to the pro. I tried the following and it didn't work:

Qt Code:
  1. TARGET = trial1
  2. TEMPLATE = app
  3. SOURCES += main.cpp \
  4. startupdialog.cpp \
  5. phonebook.cpp \
  6. configure.cpp \
  7. advanced.cpp \
  8. modules/borderlayout.cpp
  9. HEADERS += startupdialog.h \
  10. phonebook.h \
  11. configure.h \
  12. advanced.h \
  13. modules/borderlayout.h
  14. FORMS += startupdialog.ui \
  15. phonebook.ui \
  16. configure.ui \
  17. advanced.ui
  18. RESOURCES += jddi.qrc
  19. QT += XML
To copy to clipboard, switch view to plain text mode 

Any ideas?

Thanks
Brendan