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

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