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 5.1. 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-3.3.0.6.zip” for CCpilot V1000 display computer with CC Linux OS 3.3.0.6 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-3.X.Y.Z.sh
./CCLinux-SDK-toolchain-x86_64-CCpilot-V1x00-3.X.Y.Z.sh -d /opt/V1X00 -y
Qt runtime SDK¶
Download¶
Qt runtime needs to be installed to be able to compile applications for a specific target device, please check our support website, under: UX Designer | CrossControl and navigate to:
DEVELOPMENT ENVIRONMENT DOWNLOADS → UX DESIGNER → V5.1 → SDK → Qt CREATOR
For example you can download the Qt SDK “linx-qt65-v1x00-ccl33-dev_6.5.3-1_all.deb” for CCpilot V1000 with CC Linux OS version >= 3.0.
The latest available Qt runtime version is Qt-6.8.0, make sure to have the latest CC Linux OS version on the target and updated version of the UX-Designer V5.1 in order to successfully develop with this version. Head to the previous section Update VM on how to upgrade the development VM.
Install¶
Run the following command from a terminal window to automatically install Qt SDK to the correct location. Make sure to replace version to match your downloaded .deb file.
sudo dpkg --install linx-qt65-v1x00-ccl33-dev_6.5.3-1_all.deb
The installation requires CCLinux to be installed first and will install in folder /opt/TARGET_DEVICE
Qt Creator build kit¶
Start Qt Creator. The kit should be automatically detected and work for qmake and cmake projects out of the box. If you have a warning regarding missing Device/Device type, look at the Deploy to target section describing how to add a new device.
Validate the setup by navigating to Qt Creator Kits:
Edit → Preferences... → Kits
Add template for X1200 support¶
Now there is support for CCpilot X1200 in UX-Desginer V5.1. Beside installing its CCLinux SDK, Qt runtime SDK and Qt Creator build kit, you will also need to add the latest CrossControl Qt Creator template in order to create Qt projects, build, compile and deploy applications on it.
Download and install X1200 template¶
Head to CrossControl website and navigate to:
DEVELOPMENT ENVIRONMENT DOWNLOADS → UX DESIGNER → V5.1 → SDK → CCPILOT X1200 SUPPORT
and download linx-qtcreator-project-x1200-templates_1.3.1_amd64.deb. Then install the .deb file as before in the VM.
Sapcore update package for X1200¶
Keep in mind to update Sapcore as well in case you are planning to use it in your Qt application on X1200. The instalaltion .deb package sapcore-vm5-dev_3.1.4-2_all.deb can be found on the website mentioned above.