diagramscene.pro Example File | Qt Widgets 5.12.5

Qt 5.12 | Qt Widgets | Diagram Scene Example | diagramscene.pro Example File

Qt 5.12.5 Reference Documentation

# diagramscene.pro Example File

graphicsview/diagramscene/diagramscene.pro

      QT += widgets
      requires(qtConfig(fontcombobox))

      HEADERS     =   mainwindow.h \
                      diagramitem.h \
                      diagramscene.h \
                      arrow.h \
                      diagramtextitem.h
      SOURCES     =   mainwindow.cpp \
                      diagramitem.cpp \
                      main.cpp \
                      arrow.cpp \
                      diagramtextitem.cpp \
                      diagramscene.cpp
      RESOURCES   =   diagramscene.qrc

      # install
      target.path = $$[QT_INSTALL_EXAMPLES]/widgets/graphicsview/diagramscene
      INSTALLS += target