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

Qt 5.11.3 Reference Documentation

# scribble.pro Example File

widgets/scribble/scribble.pro

      QT += widgets
      requires(qtConfig(filedialog))
      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