CONFIG += console c++11 QT += widgets winextras TEMPLATE = app SOURCES += main.cpp LIBS += -luser32 -lgdi32