1 2 3 4 5 6 7 8 9
QT += core gui TARGET = widgetgrab TEMPLATE = app SOURCES += main.cpp greaterThan(QT_MAJOR_VERSION, 4) { QT += widgets }