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

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