From 9c799212ac6c7a216504e7f8a40ae237a46469ab Mon Sep 17 00:00:00 2001 From: Graham Bloice Date: Fri, 8 Aug 2014 23:14:54 +0100 Subject: Fix the CMake QT build The HAVE_PCAP_REMOTE definition is in config.h, so the .h files that depend on the definition must include it so the MOC compiler will generate the required code. Change-Id: Ifc17db4fc3f0e3323726792308e303d28d8bcc7f Reviewed-on: https://code.wireshark.org/review/3516 Reviewed-by: Evan Huus --- ui/qt/remote_capture_dialog.h | 2 ++ ui/qt/remote_settings_dialog.h | 2 ++ 2 files changed, 4 insertions(+) (limited to 'ui/qt') diff --git a/ui/qt/remote_capture_dialog.h b/ui/qt/remote_capture_dialog.h index 99bb4207cc..563ee2e997 100644 --- a/ui/qt/remote_capture_dialog.h +++ b/ui/qt/remote_capture_dialog.h @@ -22,6 +22,8 @@ #ifndef REMOTE_CAPTURE_DIALOG_H #define REMOTE_CAPTURE_DIALOG_H +#include "config.h" + #ifdef HAVE_PCAP_REMOTE #include #include diff --git a/ui/qt/remote_settings_dialog.h b/ui/qt/remote_settings_dialog.h index c629ce1e37..a8e7b71bd9 100644 --- a/ui/qt/remote_settings_dialog.h +++ b/ui/qt/remote_settings_dialog.h @@ -22,6 +22,8 @@ #ifndef REMOTE_SETTINGS_DIALOG_H #define REMOTE_SETTINGS_DIALOG_H +#include "config.h" + #ifdef HAVE_PCAP_REMOTE #include #include "capture_opts.h" -- cgit v1.2.1