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