diagramscene.pro Example File | Qt Widgets 5.6

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

Qt 5.6.2 Reference Documentation

# diagramscene.pro Example File

graphicsview/diagramscene/diagramscene.pro

      QT += widgets

      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