undoframework.pro Example File | Qt Widgets 5.12.8

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

Qt 5.12.8 Reference Documentation

# undoframework.pro Example File

tools/undoframework/undoframework.pro

      QT += widgets
      requires(qtConfig(undoview))

      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