diff --git a/src/qt/guiutil.cpp b/src/qt/guiutil.cpp index c4e0321f2..664daa967 100644 --- a/src/qt/guiutil.cpp +++ b/src/qt/guiutil.cpp @@ -63,6 +63,14 @@ void ForceActivation(); #endif +#if defined(Q_OS_MAC) +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wdeprecated-declarations" + +#include +#include +#endif + namespace GUIUtil { QString dateTimeStr(const QDateTime &date) @@ -375,6 +383,9 @@ void bringToFront(QWidget* w) } } + } +} + void openDebugLogfile() { fs::path pathDebug = GetDataDir() / "debug.log";