Setup SDK and build-tools
To be able to develop and cross-compile applications for CrossControl CCpilot devices some additional packages needs to be installed in the UX Designer 6.0. Follow the instructions on this page for download and installation for respective device of the latest released versions.
Following packages needs to be installed/configured (for each device)
CCLinux SDK
Qt runtime SDK
Qt Creator build kit
CCLinux SDK
Download
To add the SDK for a specific target device please check our support website, under: CCLinux | CrossControl and navigate to:
DEVELOPMENT ENVIRONMENT DOWNLOADS → SDK → <TARGET DEVICE>
There are multiple SDK versions available, each tailored to specific CC Linux versions and CCpilot display computers. Please select the version that is compatible with both development VM and the CCpilot display computer.
For example you can download the SDK “CCLinux-SDK-toolchain-x86_64-CCpilot-V1x00-5.0.0.0-qt-6.8.3.zip” for CCpilot V1000 display computer with CC Linux OS 5.0.0.0 version.
Download and unzip the file in your development VM.
Install
Run the following commands from a terminal window to automatically install SDK to the correct location. Make sure to replace X.Y.Z with the actual version number of the latest SDK.
Make sure to use the exact same path for SDK install (/opt/V1X00 – Capital V and X)
chmod +x CCLinux-SDK-toolchain-x86_64-CCpilot-V1x00-5.X.Y.Z-qt-6.8.3.sh
./CCLinux-SDK-toolchain-x86_64-CCpilot-V1x00-5.X.Y.Z-qt-6.8.3.sh -d /opt/V1X00 -y
QtCreator build kit setup for CCLinux 5 SDK
The CCLinux 5 SDK contains the Qt 6.8.3 runtime. There are scripts available to add (and remove) a Qt Creator build kit for a CCLinux Yocto SDK. The required files can be found on the same website under: UX Designer | CrossControl and navigate to:
DEVELOPMENT ENVIRONMENT DOWNLOADS → UX DESIGNER → V6.1
Here you will find a zip file, and instructions.
Usage
# Generate output to an install script that can be re-used
./setup-qtcreator-build-kit.sh /opt/V1X00 > setup-v1x00.sh
# Install kit automatically
./setup-qtcreator-build-kit.sh /opt/V700 | bash
# Remove kit
./uninstall-qtcreator-build-kit.sh /opt/V700 | bash
Pass the SDK root as the only argument. The scripts read device name, cclinux version and Qt version straight from the SDK, so the kit name and IDs are derived automatically — e.g. CCpilot V700 cclinux 5.0.0.0 Qt 6.8.3 GCC.
Qt Creator must be installed in /opt/qtcreator. Otherwise update the location to sdktool in the scripts (needed if using Qt Online installer to install Qt)
Requirements
Qt Creator installed
A CCLinux Yocto 5+ SDK installed
Update template files
Replace CMakeLists.6.x.txt and main.cpp with new versions.
Copy these files, overwriting existing ones in:
/opt/qtcreator/share/qtcreator/templates/wizards/projects/cc_qtquick_qt6