Qt 5.6 | Qt Widgets | Undo Framework Example | undoframework.pro Example File

Qt 5.6.2 Reference Documentation

# undoframework.pro Example File

tools/undoframework/undoframework.pro

      QT += widgets

      HEADERS     = commands.h \
                    diagramitem.h \
                    diagramscene.h \
                    mainwindow.h
      SOURCES     = commands.cpp \
                    diagramitem.cpp \
                    diagramscene.cpp \
                    main.cpp \
                    mainwindow.cpp
      RESOURCES   = undoframework.qrc

      # install
      target.path = $$[QT_INSTALL_EXAMPLES]/widgets/tools/undoframework
      INSTALLS += target