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