Qt 5.11 | Qt Widgets | Editable Tree Model Example | editabletreemodel.pro Example File

Qt 5.11.3 Reference Documentation

# editabletreemodel.pro Example File

itemviews/editabletreemodel/editabletreemodel.pro

      QT += widgets
      requires(qtConfig(treeview))

      FORMS       = mainwindow.ui
      HEADERS     = mainwindow.h \
                    treeitem.h \
                    treemodel.h
      RESOURCES   = editabletreemodel.qrc
      SOURCES     = mainwindow.cpp \
                    treeitem.cpp \
                    treemodel.cpp \
                    main.cpp

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