QT += core gui charts greaterThan(QT_MAJOR_VERSION, 4): QT += widgets TARGET = MdiBug TEMPLATE = app CONFIG += c++11 SOURCES += \ main.cpp