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

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