From e3633d8a7b530d8a1dee52fa4495f9a3a352dfe9 Mon Sep 17 00:00:00 2001 From: Jeremy Whiting Date: Sun, 24 Jun 2018 10:22:21 -0600 Subject: [PATCH] Add missing header includes to build against Qt 5.11.0 Some Qt gui headers are no longer included when including QtGui adding these two missing headers makes Synergy build here on windows. --- src/gui/src/ActionDialog.cpp | 2 ++ src/gui/src/ScreenSetupView.cpp | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/gui/src/ActionDialog.cpp b/src/gui/src/ActionDialog.cpp index 94950338..8c21cb8e 100644 --- a/src/gui/src/ActionDialog.cpp +++ b/src/gui/src/ActionDialog.cpp @@ -26,6 +26,8 @@ #include #include +#include + ActionDialog::ActionDialog(QWidget* parent, ServerConfig& config, Hotkey& hotkey, Action& action) : QDialog(parent, Qt::WindowTitleHint | Qt::WindowSystemMenuHint), Ui::ActionDialogBase(), diff --git a/src/gui/src/ScreenSetupView.cpp b/src/gui/src/ScreenSetupView.cpp index f26d9700..0f0f352a 100644 --- a/src/gui/src/ScreenSetupView.cpp +++ b/src/gui/src/ScreenSetupView.cpp @@ -23,6 +23,8 @@ #include #include +#include + ScreenSetupView::ScreenSetupView(QWidget* parent) : QTableView(parent) {