From 21cb45e665c2247cdc7abe6c9e002c0900842098 Mon Sep 17 00:00:00 2001 From: hjk Date: Tue, 16 May 2023 13:00:18 +0200 Subject: [PATCH] App: Remove workaround for crash in regexp jitting in Rosetta The relevant Qt bug was fixed upstream. This effectively reverts ab16f2984b6661ea172d345 Task-number: QTBUG-97085 Change-Id: I2ccf50f83b42111bbeaa26dfd95b1eb69a62c3bf Reviewed-by: Eike Ziller --- src/app/main.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/app/main.cpp b/src/app/main.cpp index d6d0c8cc121..3a2cb5bfaae 100644 --- a/src/app/main.cpp +++ b/src/app/main.cpp @@ -518,11 +518,6 @@ int main(int argc, char **argv) QApplication::setAttribute(Qt::AA_DontUseNativeMenuBar); } - if (Utils::HostOsInfo::isRunningUnderRosetta()) { - // work around QTBUG-97085: QRegularExpression jitting is not reentrant under Rosetta - qputenv("QT_ENABLE_REGEXP_JIT", "0"); - } - if (Utils::HostOsInfo::isLinuxHost() && !qEnvironmentVariableIsSet("GTK_THEME")) // Work around QTCREATORBUG-28497: // Prevent Qt's GTK3 platform theme plugin from enforcing a dark palette