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