Files
FrameAssistant/CMakePresets.json
T
matzmanandClaude Opus 5.5 b823ff321e Bundled builds: ship Qt WebEngine (helper process, resources)
When a bundled library is Qt WebEngine, the bundler also installs
QtWebEngineProcess (plus its libraries) to libexec/, the resources and
the en-US/de locales, and points qt.conf at them. The cross image unpacks
the arm64 QtWebEngineProcess (its package can't be co-installed with the
amd64 one). Experiment for DSH-1: the Frame's system WebEngine (6.7.0,
built against FFmpeg 6) can't be loaded.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-05 22:35:09 +02:00

108 lines
3.0 KiB
JSON

{
"version": 6,
"configurePresets": [
{
"name": "base",
"hidden": true,
"generator": "Ninja",
"binaryDir": "${sourceDir}/build/${presetName}"
},
{
"name": "native-debug",
"displayName": "Native (host architecture), Debug",
"inherits": "base",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug"
}
},
{
"name": "native-release",
"displayName": "Native (host architecture), Release",
"inherits": "base",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "RelWithDebInfo"
}
},
{
"name": "native-bundle",
"displayName": "Native, self-contained bundle with Qt (fallback; scripts/container-build.sh native-bundle)",
"inherits": "base",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "RelWithDebInfo",
"VRDASH_DEPLOY_QT": "ON",
"VRDASH_BUILD_TESTS": "OFF"
}
},
{
"name": "cross-arm64-bundle",
"displayName": "Cross-compile for aarch64, self-contained bundle with Qt (fallback; scripts/container-build.sh cross-bundle)",
"inherits": "base",
"toolchainFile": "${sourceDir}/cmake/toolchains/aarch64-linux-gnu.cmake",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "RelWithDebInfo",
"VRDASH_DEPLOY_QT": "ON",
"VRDASH_BUILD_TESTS": "OFF",
"VRDASH_WEBENGINE_PROCESS": "/opt/qt6-arm64/usr/lib/qt6/libexec/QtWebEngineProcess"
}
},
{
"name": "native-systemqt",
"displayName": "Native, against the target's system Qt (default for the Frame; scripts/container-build.sh native)",
"inherits": "base",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "RelWithDebInfo",
"VRDASH_DEPLOY_QT": "OFF",
"VRDASH_QML_BYTECODE_ONLY": "ON",
"VRDASH_BUILD_TESTS": "OFF"
}
},
{
"name": "cross-arm64",
"displayName": "Cross-compile for aarch64 against the target's system Qt 6.8.x (default; scripts/container-build.sh cross)",
"inherits": "base",
"toolchainFile": "${sourceDir}/cmake/toolchains/aarch64-linux-gnu.cmake",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "RelWithDebInfo",
"VRDASH_DEPLOY_QT": "OFF",
"VRDASH_QML_BYTECODE_ONLY": "ON",
"VRDASH_BUILD_TESTS": "OFF"
}
}
],
"buildPresets": [
{
"name": "native-debug",
"configurePreset": "native-debug"
},
{
"name": "native-release",
"configurePreset": "native-release"
},
{
"name": "native-bundle",
"configurePreset": "native-bundle"
},
{
"name": "cross-arm64-bundle",
"configurePreset": "cross-arm64-bundle"
},
{
"name": "native-systemqt",
"configurePreset": "native-systemqt"
},
{
"name": "cross-arm64",
"configurePreset": "cross-arm64"
}
],
"testPresets": [
{
"name": "native-debug",
"configurePreset": "native-debug",
"output": {
"outputOnFailure": true
}
}
]
}