From 7b41faabaea7fcecee676bb4b12cbae8bb3da558 Mon Sep 17 00:00:00 2001 From: Stephan Witt Date: Fri, 11 Dec 2020 18:42:04 +0100 Subject: [PATCH] amend 99b1488f0e591539b5597d36dbadda26844b2078 - on Mac the include is needed --- src/frontends/qt/GuiKeySymbol.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/frontends/qt/GuiKeySymbol.cpp b/src/frontends/qt/GuiKeySymbol.cpp index b55f8906f2..2cd2f61054 100644 --- a/src/frontends/qt/GuiKeySymbol.cpp +++ b/src/frontends/qt/GuiKeySymbol.cpp @@ -11,6 +11,9 @@ #include #include "GuiKeySymbol.h" +#if defined(Q_OS_MAC) && QT_VERSION > 0x050000 +#include "GuiApplication.h" +#endif #include "qt_helpers.h" #include "support/lassert.h"