QT += widgets testlib CONFIG += c++14 console testcase greaterThan(QT_MAJOR_VERSION, 5): CONFIG += c++17 TEMPLATE = app TARGET = test_ClassroomTimer INCLUDEPATH += .. SOURCES += test_ClassroomTimer.cpp ../mainwindow.cpp ../countdown.cpp HEADERS += ../mainwindow.h ../countdown.h FORMS += ../mainwindow.ui msvc: QMAKE_CXXFLAGS += /utf-8