App: Remove workaround for crash in regexp jitting in Rosetta

The relevant Qt bug was fixed upstream.

This effectively reverts ab16f2984b

Task-number: QTBUG-97085
Change-Id: I2ccf50f83b42111bbeaa26dfd95b1eb69a62c3bf
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
hjk
2023-05-16 13:00:18 +02:00
parent 39f27a8eb8
commit 21cb45e665

View File

@@ -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