macOS: Exclude 32-bit builds by checking pointer size
Task-number: QTBUG-85279 Pick-to: 5.15 Pick-to: 5.12 Change-Id: I984ec21b9c5ed5e2bd02b3a8b52bbeb72953e454 Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
This commit is contained in:
parent
b10f8ba350
commit
17b1c7e6b3
@ -193,7 +193,7 @@ constexpr backwards_t<R> backwards(R&& r) { return {std::forward<R>(r)}; }
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
#if !defined(Q_PROCESSOR_X86_64)
|
||||
#if QT_POINTER_SIZE == 4
|
||||
#error "32-bit builds are not supported"
|
||||
#endif
|
||||
|
||||
|
@ -370,10 +370,6 @@ QString qt_mac_removeAmpersandEscapes(QString s)
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
#if !defined(Q_PROCESSOR_X86_64)
|
||||
#error "32-bit builds are not supported"
|
||||
#endif
|
||||
|
||||
QOperatingSystemVersion QMacVersion::buildSDK(VersionTarget target)
|
||||
{
|
||||
switch (target) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user