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.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
UX Designer version 5.0 comes with support for build using Docker (tech-preview) containers. This introduces an easy and flexible way to install dependencies and tools for desired target CCpilot displays. To get started using Docker, head over to the Getting Started using Docker section.
Using Docker there is no need for the following manual installation and setup procedure.
CCLinux SDK¶
Download¶
To update the LinX Software Suite to add the SDKs for a specific target device please check our support website, under: CCLinux | CrossControl and navigate to
DEVELOPMENT ENVIRONMENT DOWNLOADS → SDK → <TARGET DEVICE>
For exampel you can download the SDK for CCpilot V1000 CCLinux-SDK-toolchain-x86_64-CCpilot-V1x00-3.1.0.0.zip
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.0 → SDK → Qt CREATOR
For exampel you can download the Qt SDK for CCpilot V1000 (CCLinux >= 3.0) linx-qt64-v1x00-ccl30-dev_6.4.1-1_all.deb
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-qt64-v1x00-ccl30-dev_6.4.1-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 setup by navigate to Qt Creator Kits
Edit → Preferences... → Kits