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

# Avoid naming the target "tablet", as it would create an executable
# named "tablet.exe" on Windows and trigger a bug (in the Wacom drivers, apparently)
# preventing tablet messages from being received.
TARGET = qttablet

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

© 2021 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.