CONFIG += testcase TARGET = tst_serialport QT = core testlib greaterThan(QT_MAJOR_VERSION, 4) { QT += serialport } else { include($$SERIALPORT_PROJECT_ROOT/src/qt4support/serialport.prf) } SOURCES += tst_serialport.cpp