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