Skip to content

BuildInfo

Source locationmrx/core/BuildInfo.hpp
#include <mrx/core/BuildInfo.hpp>
class mrx::core::BuildInfo

Exposes build-time SDK and target metadata compiled into the core module.

Keeping this API in the core module makes the embedded build metadata available to all SDK consumers without requiring them to depend on higher-level feature modules.

ReturnNameDescription
QVersionNumbersdkVersion staticReturns the semantic version of the SDK used to build this library.
QStringtargetDevice staticReturns the target device name embedded at build time.
QStringtargetOs staticReturns the target operating system name embedded at build time.
voidprint staticPrints the available build metadata to the default output stream.

static
Source locationmrx/core/BuildInfo.hpp
static QVersionNumber sdkVersion()

Returns the semantic version of the SDK used to build this library.

Parsed SDK version number.


static
Source locationmrx/core/BuildInfo.hpp
static QString targetDevice()

Returns the target device name embedded at build time.

Human-readable target device identifier.


static
Source locationmrx/core/BuildInfo.hpp
static QString targetOs()

Returns the target operating system name embedded at build time.

Human-readable target operating system identifier.


static
Source locationmrx/core/BuildInfo.hpp
static void print()

Prints the available build metadata to the default output stream.