2015-04-16 11:50:07 -05:00
|
|
|
TEMPLATE = app
|
|
|
|
CONFIG += qt ver_info
|
|
|
|
macx: TARGET = Ostinato
|
|
|
|
win32:RC_FILE = ostinato.rc
|
|
|
|
macx:ICON = icons/logo.icns
|
2020-06-13 11:05:53 -05:00
|
|
|
QT += widgets network script xml svg
|
2015-04-16 11:50:07 -05:00
|
|
|
INCLUDEPATH += "../rpc/" "../common/"
|
|
|
|
win32 {
|
2017-12-07 07:34:18 -06:00
|
|
|
QMAKE_LFLAGS += -static
|
2015-04-16 11:50:07 -05:00
|
|
|
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 += -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
|
|
|
|
RESOURCES += ostinato.qrc
|
|
|
|
HEADERS += \
|
2016-03-14 09:41:40 -05:00
|
|
|
arpstatusmodel.h \
|
2020-03-14 10:43:24 -05:00
|
|
|
clipboardhelper.h \
|
2016-02-17 09:43:30 -06:00
|
|
|
devicegroupdialog.h \
|
2016-02-12 07:40:19 -06:00
|
|
|
devicegroupmodel.h \
|
2016-03-11 07:28:08 -06:00
|
|
|
devicemodel.h \
|
2016-03-13 09:21:32 -05:00
|
|
|
deviceswidget.h \
|
2015-04-16 11:50:07 -05:00
|
|
|
dumpview.h \
|
2021-12-04 00:47:37 -06:00
|
|
|
fieldedit.h \
|
2015-04-16 11:50:07 -05:00
|
|
|
hexlineedit.h \
|
2018-08-17 08:25:58 -05:00
|
|
|
logsmodel.h \
|
|
|
|
logswindow.h \
|
2021-11-26 11:00:45 -06:00
|
|
|
findreplace.h \
|
2015-04-16 11:50:07 -05:00
|
|
|
mainwindow.h \
|
2021-12-15 09:58:52 -06:00
|
|
|
mandatoryfieldsgroup.h \
|
2016-03-14 10:46:46 -05:00
|
|
|
ndpstatusmodel.h \
|
2015-04-16 11:50:07 -05:00
|
|
|
packetmodel.h \
|
|
|
|
port.h \
|
|
|
|
portconfigdialog.h \
|
|
|
|
portgroup.h \
|
|
|
|
portgrouplist.h \
|
|
|
|
portmodel.h \
|
|
|
|
portstatsfilterdialog.h \
|
2015-05-06 11:10:55 -05:00
|
|
|
portstatsmodel.h \
|
|
|
|
portstatsproxymodel.h \
|
2015-04-16 11:50:07 -05:00
|
|
|
portstatswindow.h \
|
|
|
|
portswindow.h \
|
2021-11-06 03:51:40 -05:00
|
|
|
portwidget.h \
|
2015-04-16 11:50:07 -05:00
|
|
|
preferences.h \
|
|
|
|
settings.h \
|
|
|
|
streamconfigdialog.h \
|
|
|
|
streamlistdelegate.h \
|
|
|
|
streammodel.h \
|
2017-01-13 07:32:25 -06:00
|
|
|
streamstatsfiltermodel.h \
|
2016-11-24 10:14:38 -06:00
|
|
|
streamstatsmodel.h \
|
|
|
|
streamstatswindow.h \
|
2021-11-05 04:57:37 -05:00
|
|
|
streamswidget.h \
|
2020-03-14 10:43:24 -05:00
|
|
|
variablefieldswidget.h \
|
|
|
|
xtableview.h
|
2015-04-16 11:50:07 -05:00
|
|
|
|
|
|
|
FORMS += \
|
|
|
|
about.ui \
|
2016-02-17 09:43:30 -06:00
|
|
|
devicegroupdialog.ui \
|
2016-03-13 09:21:32 -05:00
|
|
|
deviceswidget.ui \
|
2021-11-26 11:00:45 -06:00
|
|
|
findreplace.ui \
|
2018-08-17 08:25:58 -05:00
|
|
|
logswindow.ui \
|
2015-04-16 11:50:07 -05:00
|
|
|
mainwindow.ui \
|
|
|
|
portconfigdialog.ui \
|
|
|
|
portstatsfilter.ui \
|
|
|
|
portstatswindow.ui \
|
|
|
|
portswindow.ui \
|
2021-11-06 03:51:40 -05:00
|
|
|
portwidget.ui \
|
2015-04-16 11:50:07 -05:00
|
|
|
preferences.ui \
|
2015-05-26 11:13:37 -05:00
|
|
|
streamconfigdialog.ui \
|
2016-11-24 10:14:38 -06:00
|
|
|
streamstatswindow.ui \
|
2021-11-03 10:35:23 -05:00
|
|
|
streamswidget.ui \
|
2015-05-26 11:13:37 -05:00
|
|
|
variablefieldswidget.ui
|
2015-04-16 11:50:07 -05:00
|
|
|
|
|
|
|
SOURCES += \
|
2016-03-14 09:41:40 -05:00
|
|
|
arpstatusmodel.cpp \
|
2020-03-14 10:43:24 -05:00
|
|
|
clipboardhelper.cpp \
|
2016-02-17 09:43:30 -06:00
|
|
|
devicegroupdialog.cpp \
|
2016-02-12 07:40:19 -06:00
|
|
|
devicegroupmodel.cpp \
|
2016-03-11 07:28:08 -06:00
|
|
|
devicemodel.cpp \
|
2016-03-13 09:21:32 -05:00
|
|
|
deviceswidget.cpp \
|
2015-04-16 11:50:07 -05:00
|
|
|
dumpview.cpp \
|
|
|
|
stream.cpp \
|
|
|
|
hexlineedit.cpp \
|
2018-08-17 08:25:58 -05:00
|
|
|
logsmodel.cpp \
|
|
|
|
logswindow.cpp \
|
2021-12-04 00:47:37 -06:00
|
|
|
fieldedit.cpp \
|
2021-11-26 11:00:45 -06:00
|
|
|
findreplace.cpp \
|
2015-04-16 11:50:07 -05:00
|
|
|
main.cpp \
|
|
|
|
mainwindow.cpp \
|
2021-12-15 09:58:52 -06:00
|
|
|
mandatoryfieldsgroup.cpp \
|
2016-03-14 10:46:46 -05:00
|
|
|
ndpstatusmodel.cpp \
|
2015-04-16 11:50:07 -05:00
|
|
|
packetmodel.cpp \
|
2016-10-13 08:20:33 -05:00
|
|
|
params.cpp \
|
2015-04-16 11:50:07 -05:00
|
|
|
port.cpp \
|
|
|
|
portconfigdialog.cpp \
|
|
|
|
portgroup.cpp \
|
|
|
|
portgrouplist.cpp \
|
|
|
|
portmodel.cpp \
|
|
|
|
portstatsmodel.cpp \
|
|
|
|
portstatsfilterdialog.cpp \
|
|
|
|
portstatswindow.cpp \
|
|
|
|
portswindow.cpp \
|
2021-11-06 03:51:40 -05:00
|
|
|
portwidget.cpp \
|
2015-04-16 11:50:07 -05:00
|
|
|
preferences.cpp \
|
|
|
|
streamconfigdialog.cpp \
|
|
|
|
streamlistdelegate.cpp \
|
|
|
|
streammodel.cpp \
|
2016-11-24 10:14:38 -06:00
|
|
|
streamstatsmodel.cpp \
|
|
|
|
streamstatswindow.cpp \
|
2021-11-05 04:57:37 -05:00
|
|
|
streamswidget.cpp \
|
2021-12-24 10:06:14 -06:00
|
|
|
thememanager.cpp \
|
2015-05-26 11:13:37 -05:00
|
|
|
variablefieldswidget.cpp
|
2015-04-16 11:50:07 -05:00
|
|
|
|
2022-01-30 01:43:20 -06:00
|
|
|
THEMES += \
|
|
|
|
themes/material-dark.qss \
|
|
|
|
themes/material-dark.rcc \
|
|
|
|
themes/material-light.qss \
|
|
|
|
themes/material-light.rcc \
|
|
|
|
themes/qds-dark.qss \
|
|
|
|
themes/qds-dark.rcc \
|
|
|
|
themes/qds-light.qss \
|
|
|
|
themes/qds-light.rcc \
|
2015-04-16 11:50:07 -05:00
|
|
|
|
|
|
|
QMAKE_DISTCLEAN += object_script.*
|
|
|
|
|
|
|
|
include(../install.pri)
|
2022-01-30 01:43:20 -06:00
|
|
|
include(../shared.pri)
|
2015-04-16 11:50:07 -05:00
|
|
|
include(../version.pri)
|
2018-04-20 10:20:51 -05:00
|
|
|
include(../options.pri)
|
2015-04-16 11:50:07 -05:00
|
|
|
|
2018-03-27 09:32:36 -05:00
|
|
|
INCLUDEPATH += "../extra/modeltest"
|
2018-04-02 10:09:44 -05:00
|
|
|
greaterThan(QT_MINOR_VERSION, 6) {
|
2018-03-27 09:32:36 -05:00
|
|
|
CONFIG(debug, debug|release): LIBS += -L"../extra/modeltest/$(OBJECTS_DIR)/" -lmodeltest
|
|
|
|
CONFIG(debug, debug|release): QT += testlib
|
2018-04-02 10:09:44 -05:00
|
|
|
}
|