Qt 5.6 | Qt Widgets | Chart Example | chart.pro Example File

Qt 5.6.2 Reference Documentation

# chart.pro Example File

itemviews/chart/chart.pro

      QT += widgets

      HEADERS     = mainwindow.h \
                    pieview.h
      RESOURCES   = chart.qrc
      SOURCES     = main.cpp \
                    mainwindow.cpp \
                    pieview.cpp
      unix:!mac:!vxworks:!integrity:!haiku:LIBS += -lm

      # install
      target.path = $$[QT_INSTALL_EXAMPLES]/widgets/itemviews/chart
      INSTALLS += target