summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorhjk <hjk@qt.io>2023-05-16 13:00:18 +0200
committerhjk <hjk@qt.io>2023-05-16 11:08:26 +0000
commit21cb45e665c2247cdc7abe6c9e002c0900842098 (patch)
tree9b3f76e33d62b6bb7c939d2ba88b5baa46cfb642 /src
parent39f27a8eb82c66af17d30b7946988ca9275bb705 (diff)
downloadqt-creator-21cb45e665c2247cdc7abe6c9e002c0900842098.tar.gz
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 <eike.ziller@qt.io>
Diffstat (limited to 'src')
-rw-r--r--src/app/main.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/app/main.cpp b/src/app/main.cpp
index d6d0c8cc12..3a2cb5bfaa 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