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

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