ostinato/test/test.pro
Srivats P 8ea2e91b47 Add Qt widgets lib for PCAP import tests build
QtWidgets is required since we have ported the code to Qt5
2019-09-06 21:18:05 +05:30

40 lines
1.1 KiB
Prolog

TEMPLATE = app
CONFIG += qt console
QT += xml network script widgets
INCLUDEPATH += "../rpc/" "../common/" "../client"
win32 {
LIBS += -lwpcap -lpacket
CONFIG(debug, debug|release) {
LIBS += -L"../common/debug" -lostprotogui -lostproto
LIBS += -L"../rpc/debug" -lpbrpc
POST_TARGETDEPS += \
"../common/debug/libostprotogui.a" \
"../common/debug/libostproto.a" \
"../rpc/debug/libpbrpc.a"
} else {
LIBS += -L"../common/release" -lostprotogui -lostproto
LIBS += -L"../rpc/release" -lpbrpc
POST_TARGETDEPS += \
"../common/release/libostprotogui.a" \
"../common/release/libostproto.a" \
"../rpc/release/libpbrpc.a"
}
} else {
LIBS += -lpcap
LIBS += -L"../common" -lostprotogui -lostproto
LIBS += -L"../rpc" -lpbrpc
POST_TARGETDEPS += \
"../common/libostprotogui.a" \
"../common/libostproto.a" \
"../rpc/libpbrpc.a"
}
LIBS += -lprotobuf
LIBS += -L"../extra/qhexedit2/$(OBJECTS_DIR)/" -lqhexedit2
HEADERS +=
SOURCES += main.cpp
QMAKE_DISTCLEAN += object_script.*
include(../install.pri)