From 9e56213633d72d73818d075dabf1d4484069406b Mon Sep 17 00:00:00 2001 From: Mathew Sutcliffe Date: Fri, 20 Jan 2017 23:32:47 +0000 Subject: [PATCH] Inhibit MacOSX warning in libxplanemp. --- src/xbus/xbus.pro | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/xbus/xbus.pro b/src/xbus/xbus.pro index b199904e5..27e5755dd 100644 --- a/src/xbus/xbus.pro +++ b/src/xbus/xbus.pro @@ -9,6 +9,10 @@ CONFIG += blackmisc INCLUDEPATH += $$EXTERNALSROOT/common/include/XPLM +# Inhibit "warning: 'FSFindFolder' is deprecated: first deprecated in macOS 10.8" +# TODO implement proper fix +macx:QMAKE_CXXFLAGS_WARN_ON *= -Wno-deprecated-declarations + win32 { equals(WORD_SIZE,64): LIBS += -lXPLM_64 -lXPWidgets_64 equals(WORD_SIZE,32): LIBS += -lXPLM -lXPWidgets