chart.pro Example File | Qt Widgets 5.12.12

- Qt 5.12
- Qt Widgets
- Chart Example
- chart.pro Example File
- Qt 5.12.12 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