forked from qt-creator/qt-creator
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user