Fix macOS 12 and 13 crashing on Intel CPUs with Qt 6.8.1

See https://bugreports.qt.io/browse/QTBUG-131957
This commit is contained in:
Robert Griebl
2024-12-09 15:44:05 +01:00
parent 322351cbfa
commit 323637adfb
3 changed files with 12 additions and 2 deletions
+7 -1
View File
@@ -3,6 +3,11 @@ All notable changes to this project will be documented in this file.
## [Unreleased]
## [2024.12.2] - 2024-12-09
A fix for yesterday's fix: macOS 12 and 13 would crash on Intel CPUs when displaying 3D models.
## [2024.12.1] - 2024-12-09
A quick-fix release, mostly for Windows users:
@@ -712,7 +717,8 @@ These are a few of the highlights, but I probably forgot a lot of things ;-)
- Per-document column configurations and the "Collector" as well as the "Simple" view mode are not (re)implemented yet.
[Unreleased]: https://github.com/rgriebl/brickstore/compare/v2024.12.1...HEAD
[Unreleased]: https://github.com/rgriebl/brickstore/compare/v2024.12.2...HEAD
[2024.12.2]: https://github.com/rgriebl/brickstore/releases/tag/v2024.12.2
[2024.12.1]: https://github.com/rgriebl/brickstore/releases/tag/v2024.12.1
[2024.11.1]: https://github.com/rgriebl/brickstore/releases/tag/v2024.11.1
[2024.5.2]: https://github.com/rgriebl/brickstore/releases/tag/v2024.5.2
+1 -1
View File
@@ -1 +1 @@
2024.12.1
2024.12.2
+4
View File
@@ -63,6 +63,10 @@ DesktopApplication::DesktopApplication(int &argc, char **argv)
#if defined(Q_OS_LINUX)
qputenv("QT_WAYLAND_DECORATION", "adwaita");
#endif
#if defined(Q_OS_MACOS) && defined(Q_PROCESSOR_X86_64) && (QT_VERSION == QT_VERSION_CHECK(6, 8, 1))
// https://bugreports.qt.io/browse/QTBUG-131957
qputenv("QV4_FORCE_INTERPRETER", "1");
#endif
#if defined(Q_OS_WINDOWS)
// the Vista style scales very badly when scaled to non-integer factors
QGuiApplication::setHighDpiScaleFactorRoundingPolicy(Qt::HighDpiScaleFactorRoundingPolicy::RoundPreferFloor);