summaryrefslogtreecommitdiffstats
path: root/src/corelib/plugin
diff options
context:
space:
mode:
authorJake Petroules <jake.petroules@qt.io>2016-05-28 02:06:00 -0700
committerJake Petroules <jake.petroules@qt.io>2016-05-30 20:36:14 +0000
commite8224f814989358941c390efb0c058b94ff65b54 (patch)
treee573045a134337276f6bf0887d028bf5af041826 /src/corelib/plugin
parent73bf1427fb382f577d9d78ee52a95f98c7b3b6bf (diff)
Fix unimplemented Mach-O parsing for ARM64 platforms in QPluginLoader.
Change-Id: I4853b5ce1691bd84578ebe46af9f73270598387a Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/corelib/plugin')
-rw-r--r--src/corelib/plugin/qmachparser.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/corelib/plugin/qmachparser.cpp b/src/corelib/plugin/qmachparser.cpp
index c136ef3797..a599fbcb23 100644
--- a/src/corelib/plugin/qmachparser.cpp
+++ b/src/corelib/plugin/qmachparser.cpp
@@ -59,6 +59,9 @@ static const cpu_type_t my_cputype = CPU_TYPE_X86;
static const cpu_type_t my_cputype = CPU_TYPE_POWERPC64;
#elif defined(Q_PROCESSOR_POWER_32)
static const cpu_type_t my_cputype = CPU_TYPE_POWERPC;
+#elif defined(Q_PROCESSOR_ARM_64)
+# define MACHO64
+static const cpu_type_t my_cputype = CPU_TYPE_ARM64;
#elif defined(Q_PROCESSOR_ARM)
static const cpu_type_t my_cputype = CPU_TYPE_ARM;
#else