diff options
author | Richard Moe Gustavsen <richard.gustavsen@digia.com> | 2013-04-11 15:48:38 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-04-19 12:03:36 +0200 |
commit | 526eaeea09c0c48cea60d39be40aed782961883c (patch) | |
tree | 80031879b4783e53568f5a96d3e7a50e69fde641 /src/gui/kernel/qplatformthemefactory_p.h | |
parent | a680fe609f9b8cbccee1acd7391a725cf4b7b523 (diff) |
qprocessordetection: add armv7s
Xcode builds projects for armv7s if a compatible device is set as
target device. If trying to include <QtCore/QtCore> into such
projects, the build fails complaining about "the usage of sizeof missing
QMutexData definition in qgenericatomic.h"
The reason is that qprocessdetection.h fails to pick up that we're
building for ARM, and includes qatomic_gcc.h instead of qatomic_armv7.h.
So we need to check for __ARM_ARCH_7S__ as well. In addition,
iPhoneOS6.1.sdk/usr/include/arm/arch.h will define _ARM_ARCH_7 if
any of the more specic ARM defines are defined, so I add this check
as well to more easy support new version of ARM7.
Change-Id: Ic51a4d7ac99f7f6ba1065f870b3ef82d1250b56c
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@digia.com>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/gui/kernel/qplatformthemefactory_p.h')
0 files changed, 0 insertions, 0 deletions