QT += core gui greaterThan(QT_MAJOR_VERSION, 4): QT += widgets TARGET = testdata_guiproject1 TEMPLATE = app SOURCES += main.cpp mainwindow.cpp HEADERS += mainwindow.h FORMS += mainwindow.ui