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

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