editabletreemodel.pro Example File | Qt Widgets 5.12.5

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

Qt 5.12.5 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