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

Qt 5.6.3 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