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

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