Undo Framework | Qt Widgets 5.13.0

Qt 5.13 | Qt Widgets | Undo Framework

Qt 5.13.0 Reference Documentation

# Undo Framework

      QT += widgets
      requires(qtConfig(undoview))

      SOURCES += main.cpp mainwindow.cpp commands.cpp document.cpp
      HEADERS += mainwindow.h commands.h document.h
      FORMS += mainwindow.ui

      build_all:!build_pass {
          CONFIG -= build_all
          CONFIG += release
      }

      RESOURCES += undo.qrc

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