QT += core network QT -= gui TARGET = tests TEMPLATE = app CONFIG += console CONFIG -= app_bundle CONFIG += debug include(../commons.pri) SOURCES += main.cpp test.cpp bctest.cpp HEADERS += test.h bctest.h win32:CONFIG(release, debug|release): LIBS += -L$$OUT_PWD/../ptsocket/release/ -lptsocketqt$$QT_MAJOR_VERSION else:win32:CONFIG(debug, debug|release): LIBS += -L$$OUT_PWD/../ptsocket/debug/ -lptsocketqt$$QT_MAJOR_VERSION else:unix:!macx: LIBS += -L$$OUT_PWD/../ptsocket/ -lptsocketqt$$QT_MAJOR_VERSION INCLUDEPATH += $$PWD/../ptsocket DEPENDPATH += $$PWD/../ptsocket