Skip to content

Commit

Permalink
Fix macOS 12 and 13 crashing on Intel CPUs with Qt 6.8.1
Browse files Browse the repository at this point in the history
  • Loading branch information
rgriebl committed Dec 9, 2024
1 parent 322351c commit 323637a
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
8 changes: 7 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion VERSION_NUMBER
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2024.12.1
2024.12.2
4 changes: 4 additions & 0 deletions src/desktop/desktopapplication.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 323637a

Please sign in to comment.