scribble.pro Example File | Qt Widgets 5.6

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

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