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"