Qt 5.6 | Qt Widgets | Simple DOM Model Example | simpledommodel.pro Example File

Qt 5.6.2 Reference Documentation

# simpledommodel.pro Example File

itemviews/simpledommodel/simpledommodel.pro

      HEADERS     = domitem.h \
                    dommodel.h \
                    mainwindow.h
      SOURCES     = domitem.cpp \
                    dommodel.cpp \
                    main.cpp \
                    mainwindow.cpp
      QT      += xml widgets

      # install
      target.path = $$[QT_INSTALL_EXAMPLES]/widgets/itemviews/simpledommodel
      INSTALLS += target