QT += core gui serialport network 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 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 #unix:!macx: LIBS += -L$$PWD/lib/librdkafka/ -lrdkafka -lrdkafka++ #INCLUDEPATH += $$PWD/include/librdkafka #DEPENDPATH += $$PWD/include/librdkafka