Qt 5.6 | Qt Quick | Models and Views: Object ListModel Example | objectlistmodel.pro Example File

Qt 5.6.2 Reference Documentation

# objectlistmodel.pro Example File

models/objectlistmodel/objectlistmodel.pro

      QT += qml quick

      SOURCES += main.cpp \
                 dataobject.cpp
      HEADERS += dataobject.h
      RESOURCES += objectlistmodel.qrc

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