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

Qt 5.11.3 Reference Documentation

# chart.pro Example File

itemviews/chart/chart.pro

      QT += widgets
      requires(qtConfig(filedialog))

      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