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

Qt 5.11.3 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
      requires(qtConfig(filedialog))

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