Qt 5.6 | Qt Quick | Models and Views: AbstractItemModel Example | abstractitemmodel.pro Example File

Qt 5.6.2 Reference Documentation

# abstractitemmodel.pro Example File

models/abstractitemmodel/abstractitemmodel.pro

      TARGET = abstractitemmodel
      QT += qml quick

      HEADERS = model.h
      SOURCES = main.cpp \
                model.cpp
      RESOURCES += abstractitemmodel.qrc

      target.path = $$[QT_INSTALL_EXAMPLES]/quick/models/abstractitemmodel
      INSTALLS += target