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