1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
QT = core QT += serialport CONFIG += console CONFIG -= app_bundle TARGET = cwriterasync TEMPLATE = app HEADERS += \ serialportwriter.h SOURCES += \ main.cpp \ serialportwriter.cpp target.path = $$[QT_INSTALL_EXAMPLES]/serialport/cwriterasync INSTALLS += target