| 40 | } |
| 41 | |
| 42 | QString useQTForArch() |
| 43 | { |
| 44 | #if defined(Q_OS_MACOS) && !defined(Q_PROCESSOR_ARM) |
| 45 | if (rosettaDetect()) { |
| 46 | return "arm64"; |
| 47 | } else { |
| 48 | return "x86_64"; |
| 49 | } |
| 50 | #endif |
| 51 | return QSysInfo::currentCpuArchitecture(); |
| 52 | } |
| 53 | |
| 54 | int suitableMaxMem() |
| 55 | { |
no test coverage detected