2012-01-04 22:13:01 +00:00
|
|
|
#-------------------------------------------------
|
|
|
|
#
|
|
|
|
# Project created by QtCreator 2010-12-21T11:38:10
|
|
|
|
#
|
|
|
|
#-------------------------------------------------
|
2012-08-06 20:50:30 +00:00
|
|
|
#
|
|
|
|
# Wireshark - Network traffic analyzer
|
|
|
|
# By Gerald Combs <gerald@wireshark.org>
|
|
|
|
# Copyright 1998 Gerald Combs
|
|
|
|
#
|
|
|
|
# This program is free software; you can redistribute it and/or
|
|
|
|
# modify it under the terms of the GNU General Public License
|
|
|
|
# as published by the Free Software Foundation; either version 2
|
|
|
|
# of the License, or (at your option) any later version.
|
|
|
|
#
|
|
|
|
# This program is distributed in the hope that it will be useful,
|
|
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
# GNU General Public License for more details.
|
|
|
|
#
|
|
|
|
# You should have received a copy of the GNU General Public License
|
|
|
|
# along with this program; if not, write to the Free Software
|
|
|
|
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
|
|
|
#
|
|
|
|
|
2013-04-25 21:08:56 +00:00
|
|
|
isEqual(QT_MAJOR_VERSION, 4) {
|
2013-08-29 22:15:40 +00:00
|
|
|
QT += core gui
|
2013-04-25 21:08:56 +00:00
|
|
|
} else {
|
2014-11-19 00:21:42 +00:00
|
|
|
QT += core widgets printsupport multimediawidgets
|
2013-04-25 21:08:56 +00:00
|
|
|
}
|
2012-01-04 22:13:01 +00:00
|
|
|
|
2014-08-13 15:10:44 +00:00
|
|
|
isEqual(QT_MAJOR_VERSION, 5): greaterThan(QT_MINOR_VERSION, 1): win32 {
|
|
|
|
QT += winextras
|
|
|
|
}
|
2013-08-29 22:15:40 +00:00
|
|
|
|
2014-08-28 23:48:53 +00:00
|
|
|
win32|macx {
|
2013-01-31 18:54:14 +00:00
|
|
|
TARGET = Wireshark
|
|
|
|
} else {
|
2014-08-28 23:48:53 +00:00
|
|
|
TARGET = wireshark
|
2013-01-31 18:54:14 +00:00
|
|
|
}
|
|
|
|
|
2012-01-04 22:13:01 +00:00
|
|
|
TEMPLATE = app
|
|
|
|
|
2013-02-10 19:45:43 +00:00
|
|
|
TOP_SRCDIR = "$$PWD/../.."
|
|
|
|
|
|
|
|
CONFIG(debug, debug|release) {
|
|
|
|
DESTDIR = "$${TOP_SRCDIR}/wireshark-qt-debug"
|
|
|
|
}
|
|
|
|
CONFIG(release, debug|release) {
|
|
|
|
DESTDIR = "$${TOP_SRCDIR}/wireshark-qt-release"
|
|
|
|
}
|
|
|
|
|
|
|
|
QMAKE_INFO_PLIST = "$$PWD/../../packaging/macosx/Info.plist"
|
2012-08-03 23:30:47 +00:00
|
|
|
|
2012-02-08 18:51:01 +00:00
|
|
|
xxx {
|
|
|
|
message( )
|
|
|
|
message(CONFIG:)
|
|
|
|
message( $$CONFIG)
|
|
|
|
message( )
|
|
|
|
}
|
|
|
|
|
2013-08-23 20:47:33 +00:00
|
|
|
isEmpty (QMAKE_EXTENSION_SHLIB) {
|
|
|
|
macx {
|
|
|
|
QMAKE_EXTENSION_SHLIB=".dylib"
|
|
|
|
} else: win32 {
|
|
|
|
QMAKE_EXTENSION_SHLIB=".dll"
|
|
|
|
} else { # Everyone else runs Linux or Solaris, right?
|
|
|
|
QMAKE_EXTENSION_SHLIB=".so"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2012-01-04 22:13:01 +00:00
|
|
|
unix {
|
2012-08-06 16:17:16 +00:00
|
|
|
|
|
|
|
#Check if Qt < 4.8.x (packagesExist is present in Qt >= 4.8)
|
|
|
|
contains(QT_VERSION, ^4\\.[0-7]\\..*) {
|
|
|
|
#Copy from mkspecs/features/qt_functions.prf (Qt 4.8)
|
|
|
|
defineTest(packagesExist) {
|
|
|
|
# this can't be done in global scope here because qt_functions is loaded
|
|
|
|
# before the .pro is parsed, so if the .pro set PKG_CONFIG, we wouldn't know it
|
|
|
|
# yet. oops.
|
|
|
|
isEmpty(PKG_CONFIG):PKG_CONFIG = pkg-config # keep consistent with link_pkgconfig.prf! too
|
|
|
|
|
|
|
|
for(package, ARGS) {
|
|
|
|
!system($$PKG_CONFIG --exists $$package):return(false)
|
|
|
|
}
|
|
|
|
|
|
|
|
return(true)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-04-25 21:08:56 +00:00
|
|
|
isEqual(QT_MAJOR_VERSION, 5) {
|
|
|
|
# Hack around what appears to be a bug in the 5.0.2 SDK
|
|
|
|
QT_CONFIG -= no-pkg-config
|
|
|
|
}
|
2012-01-04 22:13:01 +00:00
|
|
|
CONFIG += link_pkgconfig
|
|
|
|
PKGCONFIG += \
|
|
|
|
glib-2.0
|
|
|
|
|
|
|
|
# Some versions of Ubuntu don't ship with zlib.pc
|
2012-12-19 19:04:57 +00:00
|
|
|
!macx {
|
|
|
|
eval(PKGCONFIG += zlib) {
|
|
|
|
PKGCONFIG += zlib
|
|
|
|
}
|
2012-01-04 22:13:01 +00:00
|
|
|
}
|
2013-06-10 21:21:51 +00:00
|
|
|
|
|
|
|
macx {
|
|
|
|
packagesExist(Qt5MacExtras) {
|
|
|
|
message( "Found Qt5MacExtras" )
|
|
|
|
QT += macextras
|
|
|
|
}
|
|
|
|
}
|
2012-01-04 22:13:01 +00:00
|
|
|
}
|
|
|
|
|
2012-01-20 01:10:40 +00:00
|
|
|
win32 {
|
2012-01-30 04:37:12 +00:00
|
|
|
# Note:
|
|
|
|
# Windows Wireshark is compiled with /MD and thus must
|
|
|
|
# be linked with the "release" versions of the Qt libraries
|
|
|
|
# which are also compiled with /MD.
|
|
|
|
#
|
|
|
|
# Also: Windows Wireshark is compiled with /Zi and linked with /DEBUG
|
|
|
|
# which enables source level Wireshark debugging using the
|
|
|
|
# Windows Visual Studio debugger.
|
|
|
|
# So: QMAKE_CFLAGS, QMAKE_CXXFLAGS and QMAKE_LFLAGS are set to match
|
|
|
|
# those used building Windows Wireshark. (See config.pri).
|
|
|
|
# Among other things source-level debugging of the Qt version of Wireshark
|
|
|
|
# (including the ui/qt source) is thus enabled.
|
|
|
|
#
|
|
|
|
# Note that in this case source level debugging of the Qt
|
|
|
|
# *libraries* will not be possible since the Qt release libs are
|
|
|
|
# not compiled with /Zi (and not linked with /DEBUG).
|
|
|
|
# The Qt "debug" libraries are compiled with /MDd. To build a
|
|
|
|
# Wireshark-Qt debug version with the ability to do source level debugging
|
|
|
|
# of the Qt libraries themselves requires that Wireshark first be built with /MDd.
|
|
|
|
# Presumably doing source-level Qt library debugging shoyuld rarely be needed.
|
|
|
|
|
2014-08-28 23:48:53 +00:00
|
|
|
# We want to build only the Wireshark linked with the Qt "release" libraries
|
2012-01-30 04:37:12 +00:00
|
|
|
# so disable debug & etc.
|
|
|
|
## CONFIG -= release
|
|
|
|
CONFIG -= debug
|
|
|
|
CONFIG -= debug_and_release
|
|
|
|
|
2012-02-01 21:47:31 +00:00
|
|
|
# Use only Wireshark CFLAGS, CXXFLAGS and LDFLAGS from config.nmake (as provided via config.pri)
|
2012-01-30 04:37:12 +00:00
|
|
|
# for building the "release" version of Wireshark-Qt
|
|
|
|
# (e.g., so we don't get the Qt release CFLAGS [specifically /O2]
|
2012-01-30 23:55:34 +00:00
|
|
|
QMAKE_CFLAGS_RELEASE = ""
|
|
|
|
QMAKE_CXXFLAGS_RELEASE = ""
|
|
|
|
QMAKE_LFLAGS_RELEASE = ""
|
2012-01-30 04:37:12 +00:00
|
|
|
|
|
|
|
# XXX We need to figure out how to pull this in from config.nmake.
|
2012-01-20 01:10:40 +00:00
|
|
|
!include( config.pri ) {
|
2012-01-20 18:30:44 +00:00
|
|
|
error("Can't find config.pri. Have you run 'nmake -f Makefile.nmake' two directories up?")
|
2012-01-20 01:10:40 +00:00
|
|
|
}
|
2012-01-30 04:37:12 +00:00
|
|
|
|
2012-02-01 21:47:31 +00:00
|
|
|
!wireshark_manifest_info_required {
|
|
|
|
CONFIG -= embed_manifest_dll
|
|
|
|
CONFIG -= embed_manifest_exe
|
|
|
|
}
|
2012-01-20 01:10:40 +00:00
|
|
|
}
|
2012-01-04 22:13:01 +00:00
|
|
|
|
2013-11-21 02:05:36 +00:00
|
|
|
SOURCES_TAP = \
|
2015-07-01 04:37:34 +00:00
|
|
|
"stats_tree_dialog.cpp"
|
2013-11-21 02:05:36 +00:00
|
|
|
|
|
|
|
tap_register.name = Generate wireshark-tap-register.c
|
|
|
|
tap_register.input = SOURCES_TAP
|
|
|
|
tap_register.output = wireshark-tap-register.c
|
|
|
|
tap_register.variable_out = SOURCES
|
|
|
|
win32 {
|
2015-07-01 04:37:34 +00:00
|
|
|
tap_register.commands = $${PYTHON} "../../tools/make-tap-reg.py" "\"""$$PWD""\"" taps $$SOURCES_TAP
|
2013-11-21 02:05:36 +00:00
|
|
|
} else {
|
2015-07-01 04:37:34 +00:00
|
|
|
tap_register.commands = python ../../tools/make-tap-reg.py "\"""$$PWD""\"" taps $$SOURCES_TAP
|
2013-11-21 02:05:36 +00:00
|
|
|
}
|
|
|
|
#tap_register.CONFIG += no_link
|
|
|
|
QMAKE_EXTRA_COMPILERS += tap_register
|
|
|
|
|
2012-01-04 22:13:01 +00:00
|
|
|
INCLUDEPATH += ../.. ../../wiretap
|
|
|
|
win32:INCLUDEPATH += \
|
|
|
|
$${WIRESHARK_LIB_DIR}/gtk2/include/glib-2.0 $${WIRESHARK_LIB_DIR}/gtk2/lib/glib-2.0/include \
|
2012-10-15 06:12:51 +00:00
|
|
|
$${WIRESHARK_LIB_DIR}/gtk3/include/glib-2.0 $${WIRESHARK_LIB_DIR}/gtk3/lib/glib-2.0/include \
|
2012-01-04 22:13:01 +00:00
|
|
|
$${WIRESHARK_LIB_DIR}/WpdPack/Include \
|
|
|
|
$${WIRESHARK_LIB_DIR}/AirPcap_Devpack_4_1_0_1622/Airpcap_Devpack/include \
|
2013-09-10 22:25:41 +00:00
|
|
|
$${GNUTLS_DIR}/include \
|
2014-09-05 02:59:34 +00:00
|
|
|
$${GEOIP_DIR}/include \
|
2015-04-06 17:31:51 +00:00
|
|
|
$${ZLIB_DIR}
|
2012-01-04 22:13:01 +00:00
|
|
|
|
2012-07-12 00:04:53 +00:00
|
|
|
# We have to manually trigger relinking each time one of these is modified.
|
|
|
|
# Is there any way to do this automatically?
|
2012-02-08 18:51:01 +00:00
|
|
|
SOURCES_WS_C = \
|
2012-01-04 22:13:01 +00:00
|
|
|
../../capture_info.c \
|
|
|
|
../../capture_opts.c \
|
|
|
|
../../cfile.c \
|
|
|
|
../../color_filters.c \
|
2014-02-25 13:05:11 +00:00
|
|
|
../../extcap.c \
|
|
|
|
../../extcap_parser.c \
|
2012-01-04 22:13:01 +00:00
|
|
|
../../file.c \
|
2014-07-03 17:26:29 +00:00
|
|
|
../../fileset.c \
|
|
|
|
../../frame_tvbuff.c \
|
|
|
|
../../summary.c \
|
2014-12-31 08:50:01 +00:00
|
|
|
../../sync_pipe_write.c
|
2012-02-08 18:51:01 +00:00
|
|
|
|
2012-07-12 00:04:53 +00:00
|
|
|
win32:SOURCES_WS_C += \
|
2012-10-21 19:49:40 +00:00
|
|
|
../../ui/win32/console_win32.c \
|
2012-07-12 00:04:53 +00:00
|
|
|
../../ui/win32/file_dlg_win32.c
|
|
|
|
|
2012-02-08 18:51:01 +00:00
|
|
|
HEADERS_WS_C = \
|
|
|
|
../../wsutil/privileges.h
|
2012-01-04 22:13:01 +00:00
|
|
|
|
2013-02-06 18:22:54 +00:00
|
|
|
FORMS += \
|
2014-01-02 17:04:10 +00:00
|
|
|
about_dialog.ui \
|
2015-07-21 16:51:12 +00:00
|
|
|
address_editor_frame.ui \
|
2015-01-22 11:27:23 +00:00
|
|
|
bluetooth_att_server_attributes_dialog.ui \
|
2015-05-13 15:33:28 +00:00
|
|
|
bluetooth_devices_dialog.ui \
|
2015-06-08 17:38:48 +00:00
|
|
|
bluetooth_hci_summary_dialog.ui \
|
2014-11-12 22:24:16 +00:00
|
|
|
capture_file_properties_dialog.ui \
|
2013-11-25 14:15:49 +00:00
|
|
|
capture_interfaces_dialog.ui \
|
2014-11-12 22:24:16 +00:00
|
|
|
capture_preferences_frame.ui \
|
2015-02-05 00:36:19 +00:00
|
|
|
coloring_rules_dialog.ui \
|
2013-02-06 18:22:54 +00:00
|
|
|
column_preferences_frame.ui \
|
2015-01-01 19:41:03 +00:00
|
|
|
column_editor_frame.ui \
|
2014-06-04 09:03:59 +00:00
|
|
|
compiled_filter_output.ui \
|
2013-11-22 01:07:36 +00:00
|
|
|
decode_as_dialog.ui \
|
2015-06-01 23:29:17 +00:00
|
|
|
display_filter_expression_dialog.ui \
|
2015-07-21 17:32:42 +00:00
|
|
|
enabled_protocols_dialog.ui \
|
2015-03-11 22:22:20 +00:00
|
|
|
expert_info_dialog.ui \
|
2012-12-21 17:37:57 +00:00
|
|
|
export_object_dialog.ui \
|
2014-01-14 18:37:40 +00:00
|
|
|
export_pdu_dialog.ui \
|
2015-04-28 08:26:46 +00:00
|
|
|
extcap_options_dialog.ui \
|
2012-10-08 20:01:59 +00:00
|
|
|
file_set_dialog.ui \
|
2015-06-03 23:26:00 +00:00
|
|
|
filter_dialog.ui \
|
2013-02-06 18:22:54 +00:00
|
|
|
filter_expressions_preferences_frame.ui \
|
2013-09-09 19:30:30 +00:00
|
|
|
follow_stream_dialog.ui \
|
2013-02-06 18:22:54 +00:00
|
|
|
font_color_preferences_frame.ui \
|
2015-07-03 20:52:49 +00:00
|
|
|
funnel_string_dialog.ui \
|
|
|
|
funnel_text_dialog.ui \
|
2012-12-21 17:37:57 +00:00
|
|
|
import_text_dialog.ui \
|
Add a Qt I/O Graph dialog.
For each graph you can set:
- Its visibility
- A name
- A display filter
- Color, from a fixed list
- Plot style: Line, Impulse, Bar, Stacked Bar, Dot, Square, Diamond
- Basic Y Axes (packets/s, bytes/s, bits/s)
- Computed Y Axes (SUM, MIN, AVG, MAX)
- Smoothing
You can pan and zoom using the mouse and keyboard. Clicking on a graph
selects the last packet for that interval. If all graphs have the same Y
axis a single label is shown, otherwise a legend is shown.
The time scale (X axis) can be toggled between relative seconds and the
time of day.
Graphs can be saved as PDF, PNG, BMP, and JPEG. Settings are "sticky"
via the io_graphs UAT.
To do:
- Minimize graph drawing delays.
- Figure out why smoothing differs from GTK+
- Everything else at the top of io_graph_dialog.cpp
- Fix empty resets.
A fair amount of code was copied from TCPStreamDialog. We might want to
subclass QCustomPlot and place the shared code there.
Move common syntax checking to SyntaxLineEdit.
Move some common code from ui/gtk/io_stat.c to ui/io_graph_item.[ch] and
use it in both GTK+ and Qt.
Make the io_graph_item_t array allocation in io_stat.c static. The
behavior should be identical and this gives us additional compile-time
checks.
Change-Id: I9a3d544469b7048f0761fdbf7bcf20f44ae76577
Reviewed-on: https://code.wireshark.org/review/435
Reviewed-by: Gerald Combs <gerald@wireshark.org>
Tested-by: Gerald Combs <gerald@wireshark.org>
2014-02-12 00:07:10 +00:00
|
|
|
io_graph_dialog.ui \
|
2013-02-06 18:22:54 +00:00
|
|
|
layout_preferences_frame.ui \
|
2014-04-08 22:13:45 +00:00
|
|
|
lbm_lbtrm_transport_dialog.ui \
|
|
|
|
lbm_lbtru_transport_dialog.ui \
|
|
|
|
lbm_stream_dialog.ui \
|
|
|
|
lbm_uimflow_dialog.ui \
|
2012-12-21 17:37:57 +00:00
|
|
|
main_welcome.ui \
|
2013-02-06 18:22:54 +00:00
|
|
|
main_window.ui \
|
|
|
|
main_window_preferences_frame.ui \
|
2014-07-03 17:26:29 +00:00
|
|
|
manage_interfaces_dialog.ui \
|
2013-02-08 01:16:46 +00:00
|
|
|
module_preferences_scroll_area.ui \
|
2012-12-23 04:37:58 +00:00
|
|
|
packet_comment_dialog.ui \
|
2015-02-11 23:00:27 +00:00
|
|
|
packet_dialog.ui \
|
2012-10-18 21:14:43 +00:00
|
|
|
packet_format_group_box.ui \
|
2012-12-21 17:37:57 +00:00
|
|
|
packet_range_group_box.ui \
|
2015-06-17 15:41:41 +00:00
|
|
|
preference_editor_frame.ui \
|
2013-02-06 18:22:54 +00:00
|
|
|
preferences_dialog.ui \
|
2012-11-05 03:54:21 +00:00
|
|
|
print_dialog.ui \
|
2013-02-06 18:22:54 +00:00
|
|
|
profile_dialog.ui \
|
2015-07-17 22:06:55 +00:00
|
|
|
progress_frame.ui \
|
2015-02-03 16:39:14 +00:00
|
|
|
protocol_hierarchy_dialog.ui \
|
2014-08-04 11:57:17 +00:00
|
|
|
remote_capture_dialog.ui \
|
|
|
|
remote_settings_dialog.ui \
|
2015-07-09 23:00:14 +00:00
|
|
|
resolved_addresses_dialog.ui \
|
2015-02-02 17:01:29 +00:00
|
|
|
rtp_analysis_dialog.ui \
|
2015-01-15 01:25:56 +00:00
|
|
|
rtp_stream_dialog.ui \
|
2013-12-13 07:25:30 +00:00
|
|
|
sctp_all_assocs_dialog.ui \
|
|
|
|
sctp_assoc_analyse_dialog.ui \
|
|
|
|
sctp_chunk_statistics_dialog.ui \
|
|
|
|
sctp_graph_dialog.ui \
|
|
|
|
sctp_graph_arwnd_dialog.ui \
|
|
|
|
sctp_graph_byte_dialog.ui \
|
2012-12-21 17:37:57 +00:00
|
|
|
search_frame.ui \
|
2013-10-24 23:11:09 +00:00
|
|
|
sequence_dialog.ui \
|
2012-12-15 01:04:39 +00:00
|
|
|
splash_overlay.ui \
|
2015-06-08 18:33:16 +00:00
|
|
|
tap_parameter_dialog.ui \
|
2014-06-24 09:36:51 +00:00
|
|
|
tcp_stream_dialog.ui \
|
2014-07-03 17:26:29 +00:00
|
|
|
time_shift_dialog.ui \
|
2014-08-06 17:07:42 +00:00
|
|
|
traffic_table_dialog.ui \
|
2014-11-19 00:21:42 +00:00
|
|
|
uat_dialog.ui \
|
2015-06-11 22:05:44 +00:00
|
|
|
voip_calls_dialog.ui \
|
|
|
|
wireless_frame.ui
|
2014-07-03 17:26:29 +00:00
|
|
|
|
2013-02-06 18:22:54 +00:00
|
|
|
|
2012-10-12 23:40:29 +00:00
|
|
|
HEADERS += $$HEADERS_WS_C \
|
2014-01-02 17:04:10 +00:00
|
|
|
about_dialog.h \
|
2012-12-21 17:37:57 +00:00
|
|
|
accordion_frame.h \
|
2015-07-21 16:51:12 +00:00
|
|
|
address_editor_frame.h \
|
2015-01-22 11:27:23 +00:00
|
|
|
bluetooth_att_server_attributes_dialog.h \
|
2015-05-13 15:33:28 +00:00
|
|
|
bluetooth_devices_dialog.h \
|
2015-06-08 17:38:48 +00:00
|
|
|
bluetooth_hci_summary_dialog.h \
|
2014-11-12 22:24:16 +00:00
|
|
|
capture_file_properties_dialog.h \
|
2013-11-25 14:15:49 +00:00
|
|
|
capture_interfaces_dialog.h \
|
2013-02-06 18:22:54 +00:00
|
|
|
capture_preferences_frame.h \
|
2015-02-05 00:36:19 +00:00
|
|
|
coloring_rules_dialog.h \
|
2013-02-06 18:22:54 +00:00
|
|
|
column_preferences_frame.h \
|
2015-01-01 19:41:03 +00:00
|
|
|
column_editor_frame.h \
|
2014-06-04 09:03:59 +00:00
|
|
|
compiled_filter_output.h \
|
2014-04-29 15:10:27 +00:00
|
|
|
conversation_dialog.h \
|
2013-11-22 01:07:36 +00:00
|
|
|
decode_as_dialog.h \
|
2015-06-01 23:29:17 +00:00
|
|
|
display_filter_expression_dialog.h \
|
2013-07-25 23:49:47 +00:00
|
|
|
elided_label.h \
|
2015-07-21 17:32:42 +00:00
|
|
|
enabled_protocols_dialog.h \
|
2014-08-06 17:07:42 +00:00
|
|
|
endpoint_dialog.h \
|
2015-03-11 22:22:20 +00:00
|
|
|
expert_info_dialog.h \
|
2012-10-12 23:40:29 +00:00
|
|
|
export_dissection_dialog.h \
|
2012-11-01 20:57:45 +00:00
|
|
|
export_object_dialog.h \
|
2014-01-14 18:37:40 +00:00
|
|
|
export_pdu_dialog.h \
|
2015-04-28 08:26:46 +00:00
|
|
|
extcap_argument.h \
|
|
|
|
extcap_argument_file.h \
|
|
|
|
extcap_options_dialog.h \
|
2014-04-29 15:10:27 +00:00
|
|
|
filter_action.h \
|
2013-02-06 18:22:54 +00:00
|
|
|
filter_expressions_preferences_frame.h \
|
2013-09-09 19:30:30 +00:00
|
|
|
follow_stream_dialog.h \
|
2013-11-14 17:37:40 +00:00
|
|
|
follow_stream_text.h \
|
2013-02-06 18:22:54 +00:00
|
|
|
font_color_preferences_frame.h \
|
2015-07-03 20:52:49 +00:00
|
|
|
funnel_string_dialog.h \
|
|
|
|
funnel_text_dialog.h \
|
|
|
|
funnel_statistics.h \
|
2013-02-06 18:22:54 +00:00
|
|
|
layout_preferences_frame.h \
|
2014-04-08 22:13:45 +00:00
|
|
|
lbm_lbtrm_transport_dialog.h \
|
|
|
|
lbm_lbtru_transport_dialog.h \
|
|
|
|
lbm_stream_dialog.h \
|
|
|
|
lbm_uimflow_dialog.h \
|
2013-02-06 18:22:54 +00:00
|
|
|
main_window_preferences_frame.h \
|
2014-07-04 12:05:39 +00:00
|
|
|
manage_interfaces_dialog.h \
|
2013-02-08 01:16:46 +00:00
|
|
|
module_preferences_scroll_area.h \
|
2015-06-11 22:53:51 +00:00
|
|
|
overlay_scroll_bar.h \
|
2012-12-23 04:37:58 +00:00
|
|
|
packet_comment_dialog.h \
|
2015-02-11 23:00:27 +00:00
|
|
|
packet_dialog.h \
|
2012-12-21 17:37:57 +00:00
|
|
|
packet_format_group_box.h \
|
2015-06-17 15:41:41 +00:00
|
|
|
preference_editor_frame.h \
|
2013-02-06 18:22:54 +00:00
|
|
|
preferences_dialog.h \
|
2012-11-05 03:54:21 +00:00
|
|
|
print_dialog.h \
|
2013-02-06 18:22:54 +00:00
|
|
|
profile_dialog.h \
|
2015-07-17 22:06:55 +00:00
|
|
|
progress_frame.h \
|
2015-02-03 16:39:14 +00:00
|
|
|
protocol_hierarchy_dialog.h \
|
2015-06-17 00:24:19 +00:00
|
|
|
protocol_preferences_menu.h \
|
2014-08-04 11:57:17 +00:00
|
|
|
remote_capture_dialog.h \
|
|
|
|
remote_settings_dialog.h \
|
2015-07-09 23:00:14 +00:00
|
|
|
resolved_addresses_dialog.h \
|
2015-02-02 17:01:29 +00:00
|
|
|
rtp_analysis_dialog.h \
|
2015-01-15 01:25:56 +00:00
|
|
|
rtp_stream_dialog.h \
|
2013-12-13 07:25:30 +00:00
|
|
|
sctp_all_assocs_dialog.h \
|
|
|
|
sctp_assoc_analyse_dialog.h \
|
|
|
|
sctp_chunk_statistics_dialog.h \
|
|
|
|
sctp_graph_dialog.h \
|
|
|
|
sctp_graph_arwnd_dialog.h \
|
|
|
|
sctp_graph_byte_dialog.h \
|
2012-12-18 17:21:20 +00:00
|
|
|
search_frame.h \
|
2015-06-05 20:17:13 +00:00
|
|
|
service_response_time_dialog.h \
|
2015-07-07 23:18:00 +00:00
|
|
|
simple_statistics_dialog.h \
|
2012-12-21 17:37:57 +00:00
|
|
|
splash_overlay.h \
|
2013-11-21 01:28:17 +00:00
|
|
|
stats_tree_dialog.h \
|
2012-12-21 17:37:57 +00:00
|
|
|
tango_colors.h \
|
2015-06-08 18:33:16 +00:00
|
|
|
tap_parameter_dialog.h \
|
2014-06-24 09:36:51 +00:00
|
|
|
tcp_stream_dialog.h \
|
2014-08-06 17:07:42 +00:00
|
|
|
traffic_table_dialog.h \
|
2014-11-19 00:21:42 +00:00
|
|
|
uat_dialog.h \
|
2015-06-11 22:05:44 +00:00
|
|
|
voip_calls_dialog.h \
|
|
|
|
wireless_frame.h
|
2013-02-06 18:22:54 +00:00
|
|
|
|
2012-02-08 18:51:01 +00:00
|
|
|
win32 {
|
|
|
|
OBJECTS_WS_C = $$SOURCES_WS_C
|
|
|
|
OBJECTS_WS_C ~= s/[.]c/.obj/g
|
|
|
|
OBJECTS_WS_C ~= s,/,\\,g
|
2012-07-12 00:04:53 +00:00
|
|
|
OBJECTS_WS_C += ../../image/file_dlg_win32.res
|
2012-02-08 18:51:01 +00:00
|
|
|
} else {
|
|
|
|
## XXX: Shouldn't need to (re)compile WS_C sources ??
|
|
|
|
SOURCES += $$SOURCES_WS_C
|
|
|
|
}
|
|
|
|
|
2012-10-01 11:49:15 +00:00
|
|
|
DEFINES += INET6 REENTRANT
|
2012-01-04 22:13:01 +00:00
|
|
|
unix:DEFINES += _U_=\"__attribute__((unused))\"
|
|
|
|
|
2012-01-24 21:26:22 +00:00
|
|
|
macx:QMAKE_LFLAGS += \
|
|
|
|
-framework CoreServices \
|
2012-11-22 17:29:58 +00:00
|
|
|
-framework ApplicationServices \
|
|
|
|
-framework CoreFoundation \
|
|
|
|
-framework SystemConfiguration
|
2012-01-24 21:26:22 +00:00
|
|
|
|
2013-02-09 00:25:24 +00:00
|
|
|
unix {
|
|
|
|
exists(../../epan/.libs/libw*) {
|
|
|
|
message( "Assuming Autotools library paths" )
|
|
|
|
LIBS += \
|
|
|
|
-L.. \
|
|
|
|
-L../../epan/.libs -Wl,-rpath ../../epan/.libs \
|
|
|
|
-L../../wiretap/.libs -Wl,-rpath ../../wiretap/.libs \
|
|
|
|
-L../../wsutil/.libs -Wl,-rpath ../../wsutil/.libs
|
2013-12-12 01:36:44 +00:00
|
|
|
} else:exists(../../run/libw*) {
|
2013-12-12 01:46:09 +00:00
|
|
|
message( "Assuming CMake library path" )
|
2013-12-12 01:36:44 +00:00
|
|
|
LIBS += -L../../run -Wl,-rpath ../../run
|
2013-02-09 00:25:24 +00:00
|
|
|
}
|
2013-06-10 19:04:13 +00:00
|
|
|
|
2014-07-04 07:24:02 +00:00
|
|
|
LIBS += -lwireshark -lwiretap -lcapchild -lcaputils -lui -lcodecs -lwsutil \
|
2013-06-10 19:04:13 +00:00
|
|
|
-lpcap
|
|
|
|
|
|
|
|
exists(../libui_dirty.a) {
|
|
|
|
LIBS += -lui_dirty
|
|
|
|
}
|
2013-02-09 00:25:24 +00:00
|
|
|
}
|
2013-06-10 19:04:13 +00:00
|
|
|
|
2013-04-25 21:08:56 +00:00
|
|
|
macx:LIBS += -Wl,-macosx_version_min,10.6 -liconv -lz
|
2012-01-24 21:26:22 +00:00
|
|
|
|
2012-08-13 03:58:52 +00:00
|
|
|
# XXX Copy this only if we're linking with Lua.
|
|
|
|
EXTRA_BINFILES = \
|
|
|
|
../../epan/wslua/console.lua
|
|
|
|
|
2012-01-04 22:13:01 +00:00
|
|
|
# http://stackoverflow.com/questions/3984104/qmake-how-to-copy-a-file-to-the-output
|
2012-01-20 01:10:40 +00:00
|
|
|
unix: {
|
2013-08-22 22:33:19 +00:00
|
|
|
|
2013-08-07 18:30:21 +00:00
|
|
|
exists(../../.libs/dumpcap) {
|
|
|
|
EXTRA_BINFILES += \
|
|
|
|
../../.libs/dumpcap
|
2013-08-22 22:33:19 +00:00
|
|
|
EXTRA_LIBFILES += \
|
2013-08-23 20:47:33 +00:00
|
|
|
../../epan/.libs/libwireshark*$$QMAKE_EXTENSION_SHLIB* \
|
|
|
|
../../wiretap/.libs/libwiretap*$$QMAKE_EXTENSION_SHLIB* \
|
|
|
|
../../wsutil/.libs/libwsutil*$$QMAKE_EXTENSION_SHLIB*
|
2013-12-12 01:36:44 +00:00
|
|
|
} else:exists(../../run/libw*) {
|
|
|
|
EXTRA_BINFILES += \
|
2013-12-12 02:41:08 +00:00
|
|
|
../../run/dumpcap
|
2013-12-12 01:36:44 +00:00
|
|
|
EXTRA_LIBFILES += ../../run/libwireshark*$$QMAKE_EXTENSION_SHLIB* \
|
|
|
|
../../run/libwiretap*$$QMAKE_EXTENSION_SHLIB* \
|
|
|
|
../../run/libwsutil*$$QMAKE_EXTENSION_SHLIB*
|
2013-02-09 00:25:24 +00:00
|
|
|
}
|
|
|
|
|
2012-01-20 01:10:40 +00:00
|
|
|
}
|
2012-01-25 18:06:25 +00:00
|
|
|
unix:!macx {
|
2013-08-23 20:47:33 +00:00
|
|
|
EXTRA_BINFILES += $$EXTRA_LIBFILES
|
2012-01-04 22:13:01 +00:00
|
|
|
for(FILE,EXTRA_BINFILES){
|
2013-08-22 22:33:19 +00:00
|
|
|
QMAKE_POST_LINK += $$quote(cp $${FILE} .$$escape_expand(\\n\\t))
|
2012-01-04 22:13:01 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
# qmake 2.01a / Qt 4.7.0 doesn't set DESTDIR on OS X.
|
2012-01-25 18:06:25 +00:00
|
|
|
macx {
|
2013-08-22 22:33:19 +00:00
|
|
|
MACOS_DIR = "$${DESTDIR}/$${TARGET}.app/Contents/MacOS"
|
|
|
|
FRAMEWORKS_DIR = "$${DESTDIR}/$${TARGET}.app/Contents/Frameworks"
|
|
|
|
|
2012-01-04 22:13:01 +00:00
|
|
|
for(FILE,EXTRA_BINFILES){
|
2013-08-22 22:33:19 +00:00
|
|
|
QMAKE_POST_LINK += $$quote(cp -R $${FILE} $${MACOS_DIR}/$$escape_expand(\\n\\t))
|
2012-01-04 22:13:01 +00:00
|
|
|
}
|
2013-08-22 22:33:19 +00:00
|
|
|
|
|
|
|
# QMAKE_POST_LINK += $$quote($(MKDIR) $${FRAMEWORKS_DIR}/$$escape_expand(\\n\\t))
|
|
|
|
# for(FILE,EXTRA_LIBFILES){
|
|
|
|
# QMAKE_POST_LINK += $$quote(cp -R $${FILE} $${FRAMEWORKS_DIR}/$$escape_expand(\\n\\t))
|
|
|
|
# }
|
|
|
|
|
|
|
|
# Homebrew installs libraries read-only, which makes macdeployqt fail when
|
|
|
|
# it tries to adjust paths. Work around this by running it twice.
|
|
|
|
QMAKE_POST_LINK += $$quote(macdeployqt \"$${DESTDIR}/$${TARGET}.app\" || /bin/true$$escape_expand(\\n\\t))
|
|
|
|
QMAKE_POST_LINK += $$quote(chmod 644 \"$${FRAMEWORKS_DIR}/\"*.dylib$$escape_expand(\\n\\t))
|
|
|
|
QMAKE_POST_LINK += $$quote(macdeployqt -executable=\"$${MACOS_DIR}/dumpcap\" \"$${DESTDIR}/$${TARGET}.app\"$$escape_expand(\\n\\t))
|
|
|
|
QMAKE_POST_LINK += $$quote(chmod 444 \"$${FRAMEWORKS_DIR}/\"*.dylib$$escape_expand(\\n\\t))
|
2012-01-04 22:13:01 +00:00
|
|
|
}
|
2012-01-20 01:10:40 +00:00
|
|
|
|
2012-01-04 22:13:01 +00:00
|
|
|
win32 {
|
2014-08-04 11:57:17 +00:00
|
|
|
DEFINES+=HAVE_PCAP_REMOTE
|
|
|
|
DEFINES+=HAVE_PCAP_SETSAMPLING
|
2012-02-08 18:51:01 +00:00
|
|
|
# Add the wireshark objects to LIBS
|
|
|
|
LIBS += $$OBJECTS_WS_C
|
|
|
|
LIBS += $$PA_OBJECTS
|
2012-01-24 21:26:22 +00:00
|
|
|
LIBS += \
|
2012-09-19 00:47:31 +00:00
|
|
|
$${guilibsdll} $${HHC_LIBS} \
|
2014-07-10 00:59:23 +00:00
|
|
|
-L../../epan -llibwireshark -L../../wsutil -llibwsutil \
|
2014-07-04 07:24:02 +00:00
|
|
|
-L../../wiretap -lwiretap-$${WTAP_VERSION} \
|
|
|
|
-L../../capchild -llibcapchild -L../../caputils -llibcaputils \
|
|
|
|
-L.. -llibui -L../../codecs -lcodecs \
|
2013-03-06 22:04:17 +00:00
|
|
|
-L$${GLIB_DIR}/lib -lglib-2.0 -lgmodule-2.0 \
|
2013-09-12 00:03:47 +00:00
|
|
|
-L$${ZLIB_DIR}/lib -lzdll \
|
2013-03-06 22:04:17 +00:00
|
|
|
-L$${WINSPARKLE_DIR} -lWinSparkle
|
2012-01-24 21:26:22 +00:00
|
|
|
|
2012-08-16 19:37:01 +00:00
|
|
|
!isEmpty(MSVCR_DLL) {
|
|
|
|
EXTRA_BINFILES += \"$${MSVCR_DLL}\"
|
|
|
|
}
|
|
|
|
|
2014-06-30 22:53:56 +00:00
|
|
|
PLATFORM_DLL_DIR = $(DESTDIR)platforms
|
2012-08-14 18:16:57 +00:00
|
|
|
CONFIG(debug, debug|release) {
|
2013-08-29 22:15:40 +00:00
|
|
|
isEqual(QT_MAJOR_VERSION, 4) {
|
2013-08-30 00:43:51 +00:00
|
|
|
EXTRA_DLLS = QtCored4 QtGuid4
|
2014-06-30 22:53:56 +00:00
|
|
|
} else: lessThan(QT_MINOR_VERSION, 3) {
|
|
|
|
# The QT lib parts are copied by windeployqt post 5.3
|
2014-11-19 00:21:42 +00:00
|
|
|
EXTRA_DLLS = Qt5Cored Qt5Guid Qt5Widgetsd Qt5PrintSupportd Qt5MultimediaWidgetsd
|
2013-08-31 04:18:42 +00:00
|
|
|
EXTRA_PLATFORM_DLLS = qwindowsd
|
|
|
|
QMAKE_POST_LINK +=$$quote($(CHK_DIR_EXISTS) $${PLATFORM_DLL_DIR} $(MKDIR) $${PLATFORM_DLL_DIR}$$escape_expand(\\n\\t))
|
2013-08-29 22:15:40 +00:00
|
|
|
}
|
2013-08-30 00:43:51 +00:00
|
|
|
}
|
|
|
|
CONFIG(release, debug|release) {
|
2013-08-29 22:15:40 +00:00
|
|
|
isEqual(QT_MAJOR_VERSION, 4) {
|
2013-08-30 00:43:51 +00:00
|
|
|
EXTRA_DLLS = QtCore4 QtGui4
|
2014-06-30 22:53:56 +00:00
|
|
|
} else: lessThan(QT_MINOR_VERSION, 3) {
|
|
|
|
# The QT lib parts are copied by windeployqt post 5.3
|
2014-11-19 00:21:42 +00:00
|
|
|
EXTRA_DLLS = Qt5Core Qt5Gui Qt5Widgets Qt5PrintSupport Qt5MultimediaWidgets
|
2013-08-31 04:18:42 +00:00
|
|
|
EXTRA_PLATFORM_DLLS = qwindows
|
|
|
|
QMAKE_POST_LINK +=$$quote($(CHK_DIR_EXISTS) $${PLATFORM_DLL_DIR} $(MKDIR) $${PLATFORM_DLL_DIR}$$escape_expand(\\n\\t))
|
2013-08-29 22:15:40 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
for(DLL,EXTRA_DLLS){
|
|
|
|
EXTRA_BINFILES += $$[QT_INSTALL_BINS]/$${DLL}.dll
|
2012-08-14 18:16:57 +00:00
|
|
|
}
|
2013-08-31 04:18:42 +00:00
|
|
|
INSTALL_PLATFORM_DIR = $$[QT_INSTALL_PLUGINS]/platforms
|
|
|
|
INSTALL_PLATFORM_DIR ~= s,/,\\,g
|
|
|
|
for(DLL,EXTRA_PLATFORM_DLLS){
|
|
|
|
QMAKE_POST_LINK +=$$quote($(COPY_FILE) $${INSTALL_PLATFORM_DIR}\\$${DLL}.dll $${PLATFORM_DLL_DIR}$$escape_expand(\\n\\t))
|
|
|
|
EXTRA_BINFILES +=
|
|
|
|
}
|
2012-08-14 18:16:57 +00:00
|
|
|
|
2012-08-13 03:58:52 +00:00
|
|
|
EXTRA_BINFILES += \
|
2012-01-04 22:13:01 +00:00
|
|
|
../../dumpcap.exe \
|
2014-07-10 00:59:23 +00:00
|
|
|
../../epan/libwireshark.dll ../../wiretap/wiretap-$${WTAP_VERSION}.dll ../../wsutil/libwsutil.dll \
|
2012-01-04 22:13:01 +00:00
|
|
|
$${GLIB_DIR}/bin/libglib-2.0-0.dll $${GLIB_DIR}/bin/libgmodule-2.0-0.dll \
|
2014-10-13 19:01:11 +00:00
|
|
|
$${GLIB_DIR}/bin/$${INTL_DLL} \
|
2015-04-12 20:33:35 +00:00
|
|
|
$${GLIB_DIR}/bin/gspawn-$${WIRESHARK_TARGET_PLATFORM}-helper.exe \
|
|
|
|
$${GLIB_DIR}/bin/gspawn-$${WIRESHARK_TARGET_PLATFORM}-helper-console.exe \
|
2012-01-04 22:13:01 +00:00
|
|
|
$${C_ARES_DIR}/bin/libcares-2.dll $${ZLIB_DIR}/zlib1.dll \
|
2014-06-30 22:53:56 +00:00
|
|
|
$${GNUTLS_DIR}/bin/libffi-6.dll $${GNUTLS_DIR}/bin/$${GCC_DLL} \
|
2014-06-04 17:17:44 +00:00
|
|
|
$${GNUTLS_DIR}/bin/libgcrypt-20.dll $${GNUTLS_DIR}/bin/libgmp-10.dll \
|
2014-06-30 22:53:56 +00:00
|
|
|
$${GNUTLS_DIR}/bin/libgnutls-28.dll $${GNUTLS_DIR}/bin/$${GPGERROR_DLL} \
|
2014-06-04 17:17:44 +00:00
|
|
|
$${GNUTLS_DIR}/bin/libhogweed-2-4.dll $${GNUTLS_DIR}/bin/libnettle-4-6.dll \
|
|
|
|
$${GNUTLS_DIR}/bin/libp11-kit-0.dll $${GNUTLS_DIR}/bin/libtasn1-6.dll \
|
2012-01-04 22:13:01 +00:00
|
|
|
$${GNUTLS_DIR}/bin/libintl-8.dll $${SMI_DIR}/bin/libsmi-2.dll \
|
2014-03-29 09:00:33 +00:00
|
|
|
$${LUA_DIR}/lua52.dll \
|
2012-06-05 23:43:02 +00:00
|
|
|
$${GEOIP_DIR}/bin/libGeoIP-1.dll \
|
2013-03-06 22:04:17 +00:00
|
|
|
$${WINSPARKLE_DIR}/WinSparkle.dll \
|
2012-01-04 22:13:01 +00:00
|
|
|
../../colorfilters ../../dfilters ../../cfilters
|
|
|
|
|
2012-03-25 19:01:58 +00:00
|
|
|
wireshark_use_kfw {
|
|
|
|
EXTRA_BINFILES += \
|
2014-10-13 19:37:01 +00:00
|
|
|
$${KFW_DIR}/bin/$${COMERR_DLL} $${KFW_DIR}/bin/$${KRB5_DLL} $${KFW_DIR}/bin/$${K5SPRT_DLL}
|
2012-03-25 19:01:58 +00:00
|
|
|
}
|
|
|
|
|
2012-01-04 22:13:01 +00:00
|
|
|
EXTRA_BINFILES ~= s,/,\\,g
|
|
|
|
for(FILE,EXTRA_BINFILES){
|
2012-02-01 21:47:31 +00:00
|
|
|
QMAKE_POST_LINK +=$$quote($(COPY_FILE) $${FILE} $(DESTDIR)$$escape_expand(\\n\\t))
|
2012-01-04 22:13:01 +00:00
|
|
|
}
|
2015-01-06 23:07:50 +00:00
|
|
|
PLUGINS_DIR = $(DESTDIR)plugins
|
2012-02-01 21:47:31 +00:00
|
|
|
QMAKE_POST_LINK +=$$quote($(CHK_DIR_EXISTS) $${PLUGINS_DIR} $(MKDIR) $${PLUGINS_DIR}$$escape_expand(\\n\\t))
|
2015-01-06 23:07:50 +00:00
|
|
|
QMAKE_POST_LINK +=$$quote($(COPY_FILE) ..\\..\\$${INSTALL_DIR}\\plugins\\*.dll $(DESTDIR)plugins$$escape_expand(\\n\\t))
|
2012-01-20 01:10:40 +00:00
|
|
|
|
|
|
|
# This doesn't depend on wireshark-gtk2. It also doesn't work.
|
|
|
|
#PLUGINS_IN_PWD=$${IN_PWD}
|
|
|
|
#PLUGINS_OUT_PWD=$${OUT_PWD}
|
2012-02-01 21:47:31 +00:00
|
|
|
#QMAKE_POST_LINK +=$$quote(cd $$replace(PLUGINS_IN_PWD, /, \\)\\..\\..\\plugins$$escape_expand(\\n\\t))
|
|
|
|
#QMAKE_POST_LINK +=$$quote(nmake -f Makefile.nmake INSTALL_DIR=$$replace(PLUGINS_OUT_PWD, /, \\)\\$(DESTDIR)$$escape_expand(\\n\\t))
|
|
|
|
#QMAKE_POST_LINK +=$$quote(cd $$replace(PLUGINS_IN_PWD, /, \\)$$escape_expand(\\n\\t))
|
2014-06-30 22:53:56 +00:00
|
|
|
|
|
|
|
# Use windeployqt to copy the required QT libs.
|
|
|
|
# Currently the QT bin dir has to be on the path for windeployqt to work
|
2015-01-18 15:38:35 +00:00
|
|
|
isEqual(QT_MAJOR_VERSION, 5):greaterThan(QT_MINOR_VERSION, 2) {
|
2014-07-27 20:10:23 +00:00
|
|
|
QMAKE_POST_LINK +=$$quote(set PATH=%PATH%;$${QT5_BASE_DIR}\\bin$$escape_expand(\\n\\t))
|
2014-09-02 19:18:20 +00:00
|
|
|
QMAKE_POST_LINK +=$$quote(windeployqt --release --no-compiler-runtime $(DESTDIR)wireshark.exe)$$escape_expand(\\n\\t))
|
2014-06-30 22:53:56 +00:00
|
|
|
}
|
2012-01-04 22:13:01 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
RESOURCES += \
|
2014-01-02 17:04:10 +00:00
|
|
|
../../image/about.qrc \
|
2012-07-31 20:00:25 +00:00
|
|
|
../../image/display_filter.qrc \
|
2013-12-21 16:55:43 +00:00
|
|
|
../../image/languages/languages.qrc \
|
2013-02-06 18:22:54 +00:00
|
|
|
../../image/layout.qrc \
|
2012-07-31 20:00:25 +00:00
|
|
|
../../image/status.qrc \
|
|
|
|
../../image/toolbar.qrc \
|
2014-09-21 20:28:29 +00:00
|
|
|
../../image/wsicon.qrc \
|
2013-01-21 05:29:14 +00:00
|
|
|
i18n.qrc \
|
2013-02-06 18:22:54 +00:00
|
|
|
|
2012-03-07 10:16:33 +00:00
|
|
|
|
2014-08-28 23:48:53 +00:00
|
|
|
# wireshark_en should be pluralonly.
|
2012-03-07 10:16:33 +00:00
|
|
|
TRANSLATIONS = \
|
2014-08-28 23:48:53 +00:00
|
|
|
wireshark_de.ts \
|
|
|
|
wireshark_en.ts \
|
|
|
|
wireshark_fr.ts \
|
2014-10-16 07:12:25 +00:00
|
|
|
wireshark_it.ts \
|
2014-08-28 23:48:53 +00:00
|
|
|
wireshark_ja_JP.ts \
|
|
|
|
wireshark_pl.ts \
|
|
|
|
wireshark_zh_CN.ts
|
2012-01-04 22:13:01 +00:00
|
|
|
|
|
|
|
ICON = ../../packaging/macosx/Resources/Wireshark.icns
|
2012-02-01 21:47:31 +00:00
|
|
|
|
2013-03-06 22:04:17 +00:00
|
|
|
RC_FILE = ../../image/wireshark.rc
|
2012-07-31 20:42:59 +00:00
|
|
|
|
2012-10-06 21:36:24 +00:00
|
|
|
# http://lists.trolltech.com/qt-interest/2008-01/thread00516-0.html
|
|
|
|
# http://www.freehackers.org/thomas/2009/03/10/fixing-qmake-missing-rule-for-ts-qm/
|
|
|
|
!isEmpty(TRANSLATIONS) {
|
|
|
|
|
|
|
|
isEmpty(QMAKE_LRELEASE) {
|
2012-10-09 15:34:40 +00:00
|
|
|
win32:QMAKE_LRELEASE = $$[QT_INSTALL_BINS]\\lrelease.exe
|
2012-10-06 21:36:24 +00:00
|
|
|
else:QMAKE_LRELEASE = $$[QT_INSTALL_BINS]/lrelease
|
|
|
|
}
|
|
|
|
|
|
|
|
isEmpty(TS_DIR):TS_DIR = Translations
|
|
|
|
|
|
|
|
TSQM.name = lrelease ${QMAKE_FILE_IN}
|
|
|
|
TSQM.input = TRANSLATIONS
|
|
|
|
TSQM.output = $$TS_DIR/${QMAKE_FILE_BASE}.qm
|
|
|
|
TSQM.commands = $$QMAKE_LRELEASE ${QMAKE_FILE_IN}
|
|
|
|
TSQM.CONFIG = no_link
|
2012-10-24 15:51:28 +00:00
|
|
|
# QMAKE_EXTRA_COMPILERS += TSQM
|
|
|
|
# PRE_TARGETDEPS += compiler_TSQM_make_all
|
2012-10-06 21:36:24 +00:00
|
|
|
} else {
|
|
|
|
message(No translation files in project)
|
|
|
|
}
|
|
|
|
|
2015-06-16 11:20:24 +00:00
|
|
|
win32: QMAKE_CLEAN += *.pdb *.pri
|
2012-09-17 23:40:53 +00:00
|
|
|
|
|
|
|
HEADERS += \
|
2012-10-08 20:01:59 +00:00
|
|
|
byte_view_tab.h \
|
|
|
|
byte_view_text.h \
|
2014-09-09 20:42:58 +00:00
|
|
|
capture_file.h \
|
2012-10-08 20:01:59 +00:00
|
|
|
capture_file_dialog.h \
|
2013-08-08 00:26:57 +00:00
|
|
|
capture_filter_combo.h \
|
|
|
|
capture_filter_edit.h \
|
|
|
|
capture_filter_syntax_worker.h \
|
2012-10-08 20:01:59 +00:00
|
|
|
capture_info_dialog.h \
|
|
|
|
color_utils.h \
|
|
|
|
display_filter_combo.h \
|
|
|
|
display_filter_edit.h \
|
|
|
|
file_set_dialog.h \
|
2015-06-03 23:26:00 +00:00
|
|
|
filter_dialog.h \
|
2012-10-08 20:01:59 +00:00
|
|
|
import_text_dialog.h \
|
|
|
|
interface_tree.h \
|
Add a Qt I/O Graph dialog.
For each graph you can set:
- Its visibility
- A name
- A display filter
- Color, from a fixed list
- Plot style: Line, Impulse, Bar, Stacked Bar, Dot, Square, Diamond
- Basic Y Axes (packets/s, bytes/s, bits/s)
- Computed Y Axes (SUM, MIN, AVG, MAX)
- Smoothing
You can pan and zoom using the mouse and keyboard. Clicking on a graph
selects the last packet for that interval. If all graphs have the same Y
axis a single label is shown, otherwise a legend is shown.
The time scale (X axis) can be toggled between relative seconds and the
time of day.
Graphs can be saved as PDF, PNG, BMP, and JPEG. Settings are "sticky"
via the io_graphs UAT.
To do:
- Minimize graph drawing delays.
- Figure out why smoothing differs from GTK+
- Everything else at the top of io_graph_dialog.cpp
- Fix empty resets.
A fair amount of code was copied from TCPStreamDialog. We might want to
subclass QCustomPlot and place the shared code there.
Move common syntax checking to SyntaxLineEdit.
Move some common code from ui/gtk/io_stat.c to ui/io_graph_item.[ch] and
use it in both GTK+ and Qt.
Make the io_graph_item_t array allocation in io_stat.c static. The
behavior should be identical and this gives us additional compile-time
checks.
Change-Id: I9a3d544469b7048f0761fdbf7bcf20f44ae76577
Reviewed-on: https://code.wireshark.org/review/435
Reviewed-by: Gerald Combs <gerald@wireshark.org>
Tested-by: Gerald Combs <gerald@wireshark.org>
2014-02-12 00:07:10 +00:00
|
|
|
io_graph_dialog.h \
|
2012-10-08 20:01:59 +00:00
|
|
|
label_stack.h \
|
|
|
|
main_status_bar.h \
|
|
|
|
main_welcome.h \
|
|
|
|
main_window.h \
|
|
|
|
packet_list.h \
|
|
|
|
packet_list_model.h \
|
|
|
|
packet_list_record.h \
|
|
|
|
packet_range_group_box.h \
|
|
|
|
proto_tree.h \
|
|
|
|
qt_ui_utils.h \
|
|
|
|
qt_ui_utils.h \
|
2013-08-27 18:13:20 +00:00
|
|
|
qcustomplot.h \
|
2012-10-08 20:01:59 +00:00
|
|
|
recent_file_status.h \
|
2013-07-08 16:54:18 +00:00
|
|
|
related_packet_delegate.h \
|
2015-07-07 19:04:48 +00:00
|
|
|
response_time_delay_dialog.h \
|
2013-10-24 22:52:30 +00:00
|
|
|
sequence_diagram.h \
|
|
|
|
sequence_dialog.h \
|
2014-09-24 21:06:23 +00:00
|
|
|
simple_dialog.h \
|
2012-10-08 20:01:59 +00:00
|
|
|
sparkline_delegate.h \
|
|
|
|
syntax_line_edit.h \
|
2015-06-05 20:17:13 +00:00
|
|
|
tap_parameter_dialog.h \
|
2012-12-21 17:37:57 +00:00
|
|
|
time_shift_dialog.h \
|
2013-02-06 18:22:54 +00:00
|
|
|
wireshark_application.h \
|
2014-12-22 23:51:36 +00:00
|
|
|
wireshark_dialog.h \
|
2013-02-06 18:22:54 +00:00
|
|
|
|
2012-09-17 23:40:53 +00:00
|
|
|
|
|
|
|
SOURCES += \
|
2014-01-02 17:04:10 +00:00
|
|
|
about_dialog.cpp \
|
2012-12-18 17:21:20 +00:00
|
|
|
accordion_frame.cpp \
|
2015-07-21 16:51:12 +00:00
|
|
|
address_editor_frame.cpp \
|
2015-01-22 11:27:23 +00:00
|
|
|
bluetooth_att_server_attributes_dialog.cpp \
|
2015-05-13 15:33:28 +00:00
|
|
|
bluetooth_devices_dialog.cpp \
|
2015-06-08 17:38:48 +00:00
|
|
|
bluetooth_hci_summary_dialog.cpp \
|
2012-10-08 20:01:59 +00:00
|
|
|
byte_view_tab.cpp \
|
|
|
|
byte_view_text.cpp \
|
2014-09-09 20:42:58 +00:00
|
|
|
capture_file.cpp \
|
2012-10-08 20:01:59 +00:00
|
|
|
capture_file_dialog.cpp \
|
2014-11-12 22:24:16 +00:00
|
|
|
capture_file_properties_dialog.cpp \
|
2013-08-08 00:26:57 +00:00
|
|
|
capture_filter_combo.cpp \
|
|
|
|
capture_filter_edit.cpp \
|
|
|
|
capture_filter_syntax_worker.cpp \
|
2012-10-08 20:01:59 +00:00
|
|
|
capture_info_dialog.cpp \
|
2013-11-25 14:15:49 +00:00
|
|
|
capture_interfaces_dialog.cpp \
|
2013-02-06 18:22:54 +00:00
|
|
|
capture_preferences_frame.cpp \
|
2012-10-08 20:01:59 +00:00
|
|
|
color_utils.cpp \
|
2015-02-05 00:36:19 +00:00
|
|
|
coloring_rules_dialog.cpp \
|
2013-02-06 18:22:54 +00:00
|
|
|
column_preferences_frame.cpp \
|
2015-01-01 19:41:03 +00:00
|
|
|
column_editor_frame.cpp \
|
2014-06-04 09:03:59 +00:00
|
|
|
compiled_filter_output.cpp \
|
2014-04-29 15:10:27 +00:00
|
|
|
conversation_dialog.cpp \
|
2013-11-22 01:07:36 +00:00
|
|
|
decode_as_dialog.cpp \
|
2012-10-08 20:01:59 +00:00
|
|
|
display_filter_combo.cpp \
|
|
|
|
display_filter_edit.cpp \
|
2015-06-01 23:29:17 +00:00
|
|
|
display_filter_expression_dialog.cpp \
|
2013-07-25 23:49:47 +00:00
|
|
|
elided_label.cpp \
|
2015-07-21 17:32:42 +00:00
|
|
|
enabled_protocols_dialog.cpp \
|
2014-08-06 17:07:42 +00:00
|
|
|
endpoint_dialog.cpp \
|
2015-03-11 22:22:20 +00:00
|
|
|
expert_info_dialog.cpp \
|
2012-11-22 17:29:58 +00:00
|
|
|
export_dissection_dialog.cpp \
|
|
|
|
export_object_dialog.cpp \
|
2014-01-14 18:37:40 +00:00
|
|
|
export_pdu_dialog.cpp \
|
2015-04-28 08:26:46 +00:00
|
|
|
extcap_argument.cpp \
|
|
|
|
extcap_argument_file.cpp \
|
|
|
|
extcap_options_dialog.cpp \
|
2012-10-08 20:01:59 +00:00
|
|
|
file_set_dialog.cpp \
|
2014-04-29 15:10:27 +00:00
|
|
|
filter_action.cpp \
|
2015-06-03 23:26:00 +00:00
|
|
|
filter_dialog.cpp \
|
2013-02-06 18:22:54 +00:00
|
|
|
filter_expressions_preferences_frame.cpp \
|
2013-09-09 19:30:30 +00:00
|
|
|
follow_stream_dialog.cpp \
|
2013-11-14 17:37:40 +00:00
|
|
|
follow_stream_text.cpp \
|
2013-02-06 18:22:54 +00:00
|
|
|
font_color_preferences_frame.cpp \
|
2015-07-03 20:52:49 +00:00
|
|
|
funnel_string_dialog.cpp \
|
|
|
|
funnel_text_dialog.cpp \
|
|
|
|
funnel_statistics.cpp \
|
2012-10-08 20:01:59 +00:00
|
|
|
import_text_dialog.cpp \
|
|
|
|
interface_tree.cpp \
|
Add a Qt I/O Graph dialog.
For each graph you can set:
- Its visibility
- A name
- A display filter
- Color, from a fixed list
- Plot style: Line, Impulse, Bar, Stacked Bar, Dot, Square, Diamond
- Basic Y Axes (packets/s, bytes/s, bits/s)
- Computed Y Axes (SUM, MIN, AVG, MAX)
- Smoothing
You can pan and zoom using the mouse and keyboard. Clicking on a graph
selects the last packet for that interval. If all graphs have the same Y
axis a single label is shown, otherwise a legend is shown.
The time scale (X axis) can be toggled between relative seconds and the
time of day.
Graphs can be saved as PDF, PNG, BMP, and JPEG. Settings are "sticky"
via the io_graphs UAT.
To do:
- Minimize graph drawing delays.
- Figure out why smoothing differs from GTK+
- Everything else at the top of io_graph_dialog.cpp
- Fix empty resets.
A fair amount of code was copied from TCPStreamDialog. We might want to
subclass QCustomPlot and place the shared code there.
Move common syntax checking to SyntaxLineEdit.
Move some common code from ui/gtk/io_stat.c to ui/io_graph_item.[ch] and
use it in both GTK+ and Qt.
Make the io_graph_item_t array allocation in io_stat.c static. The
behavior should be identical and this gives us additional compile-time
checks.
Change-Id: I9a3d544469b7048f0761fdbf7bcf20f44ae76577
Reviewed-on: https://code.wireshark.org/review/435
Reviewed-by: Gerald Combs <gerald@wireshark.org>
Tested-by: Gerald Combs <gerald@wireshark.org>
2014-02-12 00:07:10 +00:00
|
|
|
io_graph_dialog.cpp \
|
2012-10-08 20:01:59 +00:00
|
|
|
label_stack.cpp \
|
2013-02-06 18:22:54 +00:00
|
|
|
layout_preferences_frame.cpp \
|
2014-04-08 22:13:45 +00:00
|
|
|
lbm_lbtrm_transport_dialog.cpp \
|
|
|
|
lbm_lbtru_transport_dialog.cpp \
|
|
|
|
lbm_stream_dialog.cpp \
|
|
|
|
lbm_uimflow_dialog.cpp \
|
2012-10-08 20:01:59 +00:00
|
|
|
main_status_bar.cpp \
|
|
|
|
main_welcome.cpp \
|
|
|
|
main_window.cpp \
|
2013-02-06 18:22:54 +00:00
|
|
|
main_window_preferences_frame.cpp \
|
2012-10-08 20:01:59 +00:00
|
|
|
main_window_slots.cpp \
|
2014-07-03 17:26:29 +00:00
|
|
|
manage_interfaces_dialog.cpp \
|
2013-02-08 01:16:46 +00:00
|
|
|
module_preferences_scroll_area.cpp \
|
2015-06-11 22:53:51 +00:00
|
|
|
overlay_scroll_bar.cpp \
|
2012-12-23 04:37:58 +00:00
|
|
|
packet_comment_dialog.cpp \
|
2015-02-11 23:00:27 +00:00
|
|
|
packet_dialog.cpp \
|
2012-11-22 17:29:58 +00:00
|
|
|
packet_format_group_box.cpp \
|
2012-10-08 20:01:59 +00:00
|
|
|
packet_list.cpp \
|
|
|
|
packet_list_model.cpp \
|
|
|
|
packet_list_record.cpp \
|
|
|
|
packet_range_group_box.cpp \
|
2015-06-17 15:41:41 +00:00
|
|
|
preference_editor_frame.cpp \
|
2013-02-06 18:22:54 +00:00
|
|
|
preferences_dialog.cpp \
|
2012-11-22 17:29:58 +00:00
|
|
|
print_dialog.cpp \
|
2013-02-06 18:22:54 +00:00
|
|
|
profile_dialog.cpp \
|
2015-07-17 22:06:55 +00:00
|
|
|
progress_frame.cpp \
|
2012-10-08 20:01:59 +00:00
|
|
|
proto_tree.cpp \
|
2015-02-03 16:39:14 +00:00
|
|
|
protocol_hierarchy_dialog.cpp \
|
2015-06-17 00:24:19 +00:00
|
|
|
protocol_preferences_menu.cpp \
|
2013-08-27 18:13:20 +00:00
|
|
|
qcustomplot.cpp \
|
2013-08-27 20:24:20 +00:00
|
|
|
qt_ui_utils.cpp \
|
2012-10-08 20:01:59 +00:00
|
|
|
recent_file_status.cpp \
|
2013-07-08 16:54:18 +00:00
|
|
|
related_packet_delegate.cpp \
|
2014-08-04 11:57:17 +00:00
|
|
|
remote_capture_dialog.cpp \
|
|
|
|
remote_settings_dialog.cpp \
|
2015-07-07 19:04:48 +00:00
|
|
|
response_time_delay_dialog.cpp \
|
2015-07-09 23:00:14 +00:00
|
|
|
resolved_addresses_dialog.cpp \
|
2015-02-02 17:01:29 +00:00
|
|
|
rtp_analysis_dialog.cpp \
|
2015-01-15 01:25:56 +00:00
|
|
|
rtp_stream_dialog.cpp \
|
2013-12-13 07:25:30 +00:00
|
|
|
sctp_all_assocs_dialog.cpp \
|
|
|
|
sctp_assoc_analyse_dialog.cpp \
|
|
|
|
sctp_chunk_statistics_dialog.cpp \
|
|
|
|
sctp_graph_dialog.cpp \
|
|
|
|
sctp_graph_arwnd_dialog.cpp \
|
|
|
|
sctp_graph_byte_dialog.cpp \
|
2012-12-18 17:21:20 +00:00
|
|
|
search_frame.cpp \
|
2013-10-24 22:52:30 +00:00
|
|
|
sequence_diagram.cpp \
|
|
|
|
sequence_dialog.cpp \
|
2015-06-05 20:17:13 +00:00
|
|
|
service_response_time_dialog.cpp \
|
2014-09-24 21:06:23 +00:00
|
|
|
simple_dialog.cpp \
|
2015-07-07 23:18:00 +00:00
|
|
|
simple_statistics_dialog.cpp \
|
2012-10-08 20:01:59 +00:00
|
|
|
sparkline_delegate.cpp \
|
2012-11-22 17:29:58 +00:00
|
|
|
splash_overlay.cpp \
|
2013-11-21 01:28:17 +00:00
|
|
|
stats_tree_dialog.cpp \
|
2014-09-18 21:09:55 +00:00
|
|
|
stock_icon.cpp \
|
2012-10-08 20:01:59 +00:00
|
|
|
syntax_line_edit.cpp \
|
2015-06-08 18:33:16 +00:00
|
|
|
tap_parameter_dialog.cpp \
|
2014-07-03 17:26:29 +00:00
|
|
|
tcp_stream_dialog.cpp \
|
2012-12-21 17:37:57 +00:00
|
|
|
time_shift_dialog.cpp \
|
2014-08-06 17:07:42 +00:00
|
|
|
traffic_table_dialog.cpp \
|
2013-07-25 23:49:47 +00:00
|
|
|
uat_dialog.cpp \
|
2014-11-19 00:21:42 +00:00
|
|
|
voip_calls_dialog.cpp \
|
2015-06-11 22:05:44 +00:00
|
|
|
wireless_frame.cpp \
|
2014-12-22 23:51:36 +00:00
|
|
|
wireshark_application.cpp \
|
2015-01-01 09:19:57 +00:00
|
|
|
wireshark_dialog.cpp \
|
|
|
|
../../wireshark-qt.cpp
|