QT += widgets SOURCES += \ main.cpp \ tabletwidget.cpp HEADERS += \ tabletwidget.h DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0