simpletreemodel.pro Example File | Qt Widgets 5.12.6

Qt 5.12 | Qt Widgets | Simple Tree Model Example | simpletreemodel.pro Example File

Qt 5.12.6 Reference Documentation

# simpletreemodel.pro Example File

itemviews/simpletreemodel/simpletreemodel.pro

      QT += widgets
      requires(qtConfig(treeview))

      HEADERS     = treeitem.h \
                    treemodel.h
      RESOURCES   = simpletreemodel.qrc
      SOURCES     = treeitem.cpp \
                    treemodel.cpp \
                    main.cpp

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