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