-
Notifications
You must be signed in to change notification settings - Fork 6.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[qt5-base & qtbase] Fix error on arm64-windows (#41536)
Co-authored-by: MonicaLiu <110024546+MonicaLiu0311@users.noreply.github.com>
- Loading branch information
1 parent
f56b56e
commit 1d6bcca
Showing
9 changed files
with
53 additions
and
2 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
diff --git a/qmake/library/qmakeevaluator.cpp b/qmake/library/qmakeevaluator.cpp | ||
index df3f92d7d5df..0ee8cdbf11e1 100644 | ||
--- a/qmake/library/qmakeevaluator.cpp | ||
+++ b/qmake/library/qmakeevaluator.cpp | ||
@@ -1046,6 +1046,11 @@ void QMakeEvaluator::loadDefaults() | ||
case PROCESSOR_ARCHITECTURE_AMD64: | ||
archStr = ProString("x86_64"); | ||
break; | ||
+# endif | ||
+# ifdef PROCESSOR_ARCHITECTURE_ARM64 | ||
+ case PROCESSOR_ARCHITECTURE_ARM64: | ||
+ archStr = ProString("arm64"); | ||
+ break; | ||
# endif | ||
case PROCESSOR_ARCHITECTURE_INTEL: | ||
archStr = ProString("x86"); | ||
-- | ||
2.16.3 |
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
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 @@ | ||
diff --git a/qmake/library/qmakeevaluator.cpp b/qmake/library/qmakeevaluator.cpp | ||
index df3f92d7d5df..0ee8cdbf11e1 100644 | ||
--- a/qmake/library/qmakeevaluator.cpp | ||
+++ b/qmake/library/qmakeevaluator.cpp | ||
@@ -1046,6 +1046,11 @@ void QMakeEvaluator::loadDefaults() | ||
case PROCESSOR_ARCHITECTURE_AMD64: | ||
archStr = ProString("x86_64"); | ||
break; | ||
+# endif | ||
+# ifdef PROCESSOR_ARCHITECTURE_ARM64 | ||
+ case PROCESSOR_ARCHITECTURE_ARM64: | ||
+ archStr = ProString("arm64"); | ||
+ break; | ||
# endif | ||
case PROCESSOR_ARCHITECTURE_INTEL: | ||
archStr = ProString("x86"); | ||
-- | ||
2.16.3 |
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
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