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

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