38 #define QTC_HOST_EXE_SUFFIX ".exe"
40 #define QTC_HOST_EXE_SUFFIX ""
50 static inline HostOs hostOs();
53 HostArchitectureArm, HostArchitectureUnknown };
54 static HostArchitecture hostArchitecture();
58 static bool isMacHost() {
return hostOs() == HostOsMac; }
59 static inline bool isAnyUnixHost();
63 QString finalName = executable;
65 finalName += QLatin1String(QTC_HOST_EXE_SUFFIX);
71 return isWindowsHost() ? Qt::CaseInsensitive: Qt::CaseSensitive;
76 return isWindowsHost() ? QLatin1Char(
';') : QLatin1Char(
':');
81 return isMacHost() ? Qt::MetaModifier : Qt::ControlModifier;
88 static bool debuggerPresent();
95 #elif defined(Q_OS_LINUX)
97 #elif defined(Q_OS_MAC)
99 #elif defined(Q_OS_UNIX)
117 #endif // HOSTOSINFO_H
static QString appendExecutableSuffix(const QString &executable)
static Qt::KeyboardModifier controlModifier()
static Qt::CaseSensitivity fileNameCaseSensitivity()
static bool isAnyUnixHost()
static QChar pathListSeparator()
static bool isLinuxHost()
static bool isWindowsHost()