MCPcopy Create free account
hub / github.com/FreesmTeam/FreesmLauncher / useQTForArch

Function useQTForArch

launcher/SysInfo.cpp:42–52  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40}
41
42QString 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
54int suitableMaxMem()
55{

Callers 4

sortVersionsMethod · 0.85
executeTaskMethod · 0.85
tryNextMajorJavaMethod · 0.85

Calls 1

rosettaDetectFunction · 0.85

Tested by

no test coverage detected