Fix compilation for Android ARMv5
We have to use the 4.4.3 compiler toolchain for producing binaries for ARMv5 on Android, since the 4.7 toolchain has a regression for this architecture. The regression has been fixed, but the fix has not been released yet, so until it has, we need to use the 4.4.3. However, the 4.4.3 toolchain has a different bug, which breaks compilation in qtimageformats with a message about redefinition of uint. This works around that bug for Android builds. When the patched compiler has been released, we can revert this. Task-number: QTBUG-30921 Change-Id: I620c186c6e932413a4de1dd331fbf4b9401f2e72 Reviewed-by: Paul Olav Tvete <paul.tvete@digia.com>bb10
parent
3483336889
commit
9fa1bdeeb2
|
|
@ -203,7 +203,11 @@ typedef quint64 qulonglong;
|
|||
QT_BEGIN_INCLUDE_NAMESPACE
|
||||
typedef unsigned char uchar;
|
||||
typedef unsigned short ushort;
|
||||
#if defined(Q_QDOC) || !defined(Q_OS_ANDROID)
|
||||
typedef unsigned int uint;
|
||||
#else
|
||||
# include <sys/types.h>
|
||||
#endif
|
||||
typedef unsigned long ulong;
|
||||
QT_END_INCLUDE_NAMESPACE
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue