Qt 5.6 | Qt Widgets | Scribble Example | scribble.pro Example File

Qt 5.6.3 Reference Documentation

# scribble.pro Example File

widgets/scribble/scribble.pro

      QT += widgets
      qtHaveModule(printsupport): QT += printsupport

      HEADERS       = mainwindow.h \
                      scribblearea.h
      SOURCES       = main.cpp \
                      mainwindow.cpp \
                      scribblearea.cpp

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