The Qlocky.UI is configured as Docker container which can be used with VSCode and Devcontainer Extension. But WSL must be configured right to build Qlocky.UI for target and host:
<aside> ⚠️
For a working docker container, the following points must be installed on WSL
/opt/poky
/opt/qlocky
folder must exist and user must have permissionssudo apt install libxcb1 libxcb-render0 libxcb-shape0 libxcb-xfixes0 libxcb-xkb1 libxkbcommon-x11-0 libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-randr0 libxcb-render-util0 libxcb-util1 libxcb-xinerama0 libxcb-cursor0 libxcb-cursor-dev
/opt/qt
. (IMPORTANT: Version must match with crossplatform QT 6.8.1 and QT installer must be executed on linux WSL command line)The following points must be installed on host computer
</aside>
The VSCode has two CMake configurations:
.env
file exists and target host is connected to local network.A change of the active configuration trigger cmake configuration which automatically edits the launch.json
file.