forked from bitcoin/bitcoin
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: Patch Qt to handle minimum macOS version properly
This change is required to switch to macOS 14 SDK (Xcode 15).
- Loading branch information
Showing
2 changed files
with
20 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
Ensure that Qt handles the minimum macOS version properly | ||
|
||
This patch can be dropped for LLVM Clang 17+, after commit | ||
https://github.com/llvm/llvm-project/commit/c8e2dd8c6f490b68e41fe663b44535a8a21dfeab | ||
|
||
|
||
--- a/qtbase/src/corelib/global/qsystemdetection.h | ||
+++ b/qtbase/src/corelib/global/qsystemdetection.h | ||
@@ -220,6 +220,9 @@ | ||
# include <Availability.h> | ||
# include <AvailabilityMacros.h> | ||
# | ||
+# undef __MAC_OS_X_VERSION_MIN_REQUIRED | ||
+# define __MAC_OS_X_VERSION_MIN_REQUIRED MAC_OS_X_VERSION_MIN_REQUIRED | ||
+# | ||
# ifdef Q_OS_MACOS | ||
# if !defined(__MAC_OS_X_VERSION_MIN_REQUIRED) || __MAC_OS_X_VERSION_MIN_REQUIRED < __MAC_10_6 | ||
# undef __MAC_OS_X_VERSION_MIN_REQUIRED |