QT += core gui serialport greaterThan(QT_MAJOR_VERSION, 4): QT += widgets CONFIG += c++11 SOURCES += \ CounterWindow.cpp \ main.cpp \ HEADERS += \ CounterWindow.h \ FORMS += \ CounterWindow.ui \ include(common/common.pri) include(protocol/protocol.pri) HEADERS += CounterDevice.h SOURCES += CounterDevice.cpp # Default rules for deployment. qnx: target.path = /tmp/$${TARGET}/bin else: unix:!android: target.path = /opt/$${TARGET}/bin !isEmpty(target.path): INSTALLS += target