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 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 example you can download the SDK for CCpilot V1000 CCLinux-SDK-toolchain-x86_64-CCpilot-V1x00-3.3.0.6.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.1 → SDK → Qt CREATOR

For example you can download the Qt SDK for CCpilot V1000 (CCLinux >= 3.0) linx-qt65-v1x00-ccl33-dev_6.5.3-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-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 setup by navigate to Qt Creator Kits

Edit → Preferences... → Kits

Qt Creator Build Kits