editabletreemodel.pro Example File

itemviews/editabletreemodel/editabletreemodel.pro

  QT += widgets

  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