Qt 5.11 | Qt Widgets | Tablet Example | tablet.pro Example File

Qt 5.11.3 Reference Documentation

# tablet.pro Example File

widgets/tablet/tablet.pro

      QT += widgets
      requires(qtConfig(filedialog))

      HEADERS     =   mainwindow.h \
              tabletcanvas.h \
              tabletapplication.h
      SOURCES     =   mainwindow.cpp \
              main.cpp \
              tabletcanvas.cpp \
              tabletapplication.cpp
      RESOURCES += images.qrc

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