Qt 5.9 | Qt Charts | Model Data Example | modeldata.pro Example File

Qt 5.9.9 Reference Documentation

# modeldata.pro Example File

modeldata/modeldata.pro

      QT += charts

      HEADERS += \
          customtablemodel.h \
          tablewidget.h

      SOURCES += \
          customtablemodel.cpp \
          main.cpp \
          tablewidget.cpp

      target.path = $$[QT_INSTALL_EXAMPLES]/charts/modeldata
      INSTALLS += target