6#ifndef SWIFT_CONFIG_BUILDCONFIG_H
7#define SWIFT_CONFIG_BUILDCONFIG_H
10#include <QVersionNumber>
12namespace swift::config
72#ifdef SWIFT_VATSIM_SUPPORT
74 static int vatsimClientId();
77 static const QString &vatsimPrivateKey();
116 static constexpr int versionMajor();
119 static constexpr int versionMinor();
122 static int versionRevision();
127#define IN_BUILDCONFIG_H
128#include "buildconfig.inc"
129#undef IN_BUILDCONFIG_H
Build configuration, also used to secure VATSIM key.
static constexpr bool isDebugBuild()
Debug build?
static const QString & gitHeadSha1()
Returns SHA-1 of git HEAD at build time.
static const QString & swiftGuiExecutableName()
Executable name for swift GUI, no(!) appendix.
static constexpr bool isCompiledWithMsFlightSimulatorSupport()
Compiled with any MS Flight Simulator support (P3D, MSFS, MSFS24).
static const QString & getVersionString()
Version as QVersionNumber.
static const QVersionNumber & getVersion()
Version as QVersionNumber.
static const QString & getPlatformString()
Info such as Win32, Win64, macOS, Linux.
static constexpr bool isReleaseBuild()
Release build?
static constexpr bool isRunningOnUnixPlatform()
Running on Unix (Linux or Mac OS X) platform.
static const QString & getShortVersionString()
Version as QVersionNumber.
static constexpr bool isRunningOnMacOSPlatform()
Running on MacOS platform?
static constexpr bool isCompiledWithMSFSSupport()
with MSFS support?
static const QString & backtraceToken()
Backtrace token for minidump uploads.
static constexpr bool isCompiledWithFGSupport()
with FG support?
static bool isLocalDeveloperDebugBuild()
Local build for developers.
static const QString & buildDateAndTime()
Returns the build date and time as string.
static constexpr bool isRunningOnWindowsNtPlatform()
Running on Windows NT platform?
static constexpr bool isCompiledWithMSFS2024Support()
with MSFS2024 support?
static const QStringList & getBuildAbiParts()
Build ABI parts as in http://doc.qt.io/qt-5/qsysinfo.html#buildAbi.
static constexpr bool isRunningOnLinuxPlatform()
Running on Linux platform?
static const QString & compiledWithInfo()
Info string about compilation.
static const QString & swiftDataExecutableName()
Executable name for swift data, no(!) appendix.
static const QString & gitHubRepoUrl()
GitHub repository URL.
static const QString & gitHubRepoApiUrl()
GitHub Packages REST API URL.
static const QString & swiftCoreExecutableName()
Executable name for swift core, no(!) appendix.
static constexpr bool isCompiledWithXPlaneSupport()
with XPlane support?
static constexpr bool isCompiledWithP3DSupport()
with P3D support?
static int buildWordSize()
Whether this swift application is build as 32 or 64bit application.
static const QString & getVersionStringPlatform()
Version as QVersionNumber plus platform info.