Qt 5.6 | Qt Widgets | Elastic Nodes Example | elasticnodes.pro Example File

Qt 5.6.2 Reference Documentation

# elasticnodes.pro Example File

graphicsview/elasticnodes/elasticnodes.pro

      QT += widgets

      HEADERS += \
              edge.h \
              node.h \
              graphwidget.h

      SOURCES += \
              edge.cpp \
              main.cpp \
              node.cpp \
              graphwidget.cpp

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