From a17f7fbd7a58eda5fd302fd3249ee89e48a929fc Mon Sep 17 00:00:00 2001 From: Julien Wadel Date: Fri, 11 Mar 2022 18:57:29 +0100 Subject: [PATCH] Fix glitches on M1. Fix leaks on SDK searches. Switch off misleading wasapi errors. --- linphone-app/src/app/main.cpp | 3 +++ linphone-sdk | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/linphone-app/src/app/main.cpp b/linphone-app/src/app/main.cpp index 94fa073ef..dd63d07f9 100644 --- a/linphone-app/src/app/main.cpp +++ b/linphone-app/src/app/main.cpp @@ -29,6 +29,9 @@ // ============================================================================= int main (int argc, char *argv[]) { +#ifdef __APPLE__ + qputenv("QT_ENABLE_GLYPH_CACHE_WORKAROUND", "1"); // On Mac, set this workaround to avoid glitches on M1, because of https://bugreports.qt.io/browse/QTBUG-89379 +#endif AppController controller(argc, argv); #ifdef QT_QML_DEBUG QQmlDebuggingEnabler enabler; diff --git a/linphone-sdk b/linphone-sdk index 39e64b4d4..6e2b508e4 160000 --- a/linphone-sdk +++ b/linphone-sdk @@ -1 +1 @@ -Subproject commit 39e64b4d48e729744c207da9c9471eec697525dd +Subproject commit 6e2b508e404b95d04439d2f76f0d24b36fb911d2