notepad.pro Example File | Qt Widgets 5.12.7

Qt 5.12 | Qt Widgets | Getting Started Programming with Qt Widgets | notepad.pro Example File

Qt 5.12.7 Reference Documentation

# notepad.pro Example File

tutorials/notepad/notepad.pro

      TEMPLATE = app
      TARGET = notepad

      qtHaveModule(printsupport): QT += printsupport
      requires(qtConfig(fontdialog))

      SOURCES += \
          main.cpp\
          notepad.cpp

      HEADERS += notepad.h

      FORMS += notepad.ui

      RESOURCES += \
          notepad.qrc

      # install
      target.path = $$[QT_INSTALL_EXAMPLES]/widgets/tutorials/notepad
      INSTALLS += target