Build from Source
This guide walks you through the supported maintainer build flow for the SDK.
Install Dependencies
Section titled “Install Dependencies”You will need Qt, Conan 2, CMake, Ninja, and a Go toolchain.
python3 -m pip install --user conanconan profile detect --forceNative build
Section titled “Native build”-
Clone the repository:
Terminal window git clone https://gitlab.com/mrs-electronics/sdk/qt.git mrs-sdk-qtcd mrs-sdk-qt -
Install third-party dependencies with Conan:
Terminal window conan install . --build=missing -s build_type=Release -s compiler.cppstd=11 -
Configure the native preset with your local Qt installation:
Terminal window cmake --preset native-conan -DCMAKE_PREFIX_PATH=/path/to/Qt/6.8.0/gcc_64 -
Build the SDK:
Terminal window cmake --build --preset native-conan -
Package the split SDK archives:
Terminal window cpack --config build/native-conan/CPackConfig.cmake
Cross-target packaging
Section titled “Cross-target packaging”The repository also includes helper CLIs for target-specific packaging:
go run ./target-support/cmd/mrsqt-setup config set --target mconn-buildroot-qt5.9 --product-sdk-root /opt/product-sdks/mconn-buildrootgo run ./cmd/mrsqt-builder release-targets mconn-buildroot-qt5.9For routine packaging, you can also use:
scripts/release-targets.sh --all