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

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