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:
TARGET = trial1
TEMPLATE = app
SOURCES += main.cpp \
startupdialog.cpp \
phonebook.cpp \
configure.cpp \
advanced.cpp \
modules/borderlayout.cpp
HEADERS += startupdialog.h \
phonebook.h \
configure.h \
advanced.h \
modules/borderlayout.h
FORMS += startupdialog.ui \
phonebook.ui \
configure.ui \
advanced.ui
RESOURCES += jddi.qrc
QT += XML
TARGET = trial1
TEMPLATE = app
SOURCES += main.cpp \
startupdialog.cpp \
phonebook.cpp \
configure.cpp \
advanced.cpp \
modules/borderlayout.cpp
HEADERS += startupdialog.h \
phonebook.h \
configure.h \
advanced.h \
modules/borderlayout.h
FORMS += startupdialog.ui \
phonebook.ui \
configure.ui \
advanced.ui
RESOURCES += jddi.qrc
QT += XML
To copy to clipboard, switch view to plain text mode
Any ideas?
Thanks
Brendan
Bookmarks