Show Contents

# 1. Install the software

Set up the software to create Qt applications for your target.

Note Before starting development for your ConnectCore platform, make sure your device is correctly connected, powered, and running. See Step 2: Set up the hardware and Step 3: Program the Yocto firmware.

- 1. Install Qt Creator
- 2. Install Digi Embedded Yocto toolchain with Qt support
- 3. Start Qt Creator from a configured toolchain shell

## 1. Install Qt Creator

Before installing Qt Creator, check the Qt Creator Supported Platforms documentation to make sure your system is compatible.

Note Qt Creator is available for Windows, Linux, and MacOS. This documentation covers Linux installation instructions only.

Follow the steps below to download and install Qt Creator on your computer.

1. Visit https://download.qt.io/official_releases/qtcreator/ and download the latest release for Linux.
2. After the package is downloaded, give it execution permissions and launch it:

       ~> chmod +x qt-creator-opensource-linux-x86_64-X.Y.Z.run
       ~> ./qt-creator-opensource-linux-x86_64-X.Y.Z.run

3. Follow the on-screen instructions to complete the product installation.
4. Do not launch Qt Creator at this point.

## 2. Install Digi Embedded Yocto toolchain with Qt support

### Requirements

To install a Digi Embedded Yocto toolchain you need a development machine with at least:

- Linux 64-bit system (Ubuntu 14.04 or Ubuntu 16.04)
- 4 CPU cores
- 4 GB of RAM
- 10 GB of free disk space

### Installation

Digi Embedded Yocto provides a pre-compiled C/C++ toolchain that matches the default dey-image-qt image. You can use it to cross-compile applications to run on Digi embedded platforms, including graphical GTK or QT5 applications.

To install new Digi Embedded Yocto toolchains in your system, follow these steps:

1. Download the toolchain installer from the Digi support page.

       ~> wget ftp://ftp1.digi.com/support/digiembeddedyocto/2.2/r3/sdk/ccimx6sbc/x11/dey-glibc-x86_64-dey-image-qt-x11-cortexa9hf-neon-toolchain-2.2-r3.sh

   You can also use your own pre-compiled toolchains.

2. Give execution permission to the installer.

       ~> chmod +x dey-glibc-x86_64-dey-image-qt-x11-cortexa9hf-neon-toolchain-2.2-r3.sh

3. Install the toolchain on your host PC.

       ~> ./dey-glibc-x86_64-dey-image-qt-x11-cortexa9hf-neon-toolchain-2.2-r3.sh

## 3. Start Qt Creator from a configured toolchain shell

Note You must execute Qt Creator from a new shell after configuring the toolchain environment.

To do so, follow these steps:

1. Open a new shell.
2. Navigate to the Digi Embedded Yocto toolchain installation folder.
3. Set up the toolchain environment by sourcing the environment-setup-<arch>-dey-linux-gnueabi script:

    ~> . environment-setup-<arch>-dey-linux-gnueabi

4. Navigate to the Qt Creator installation folder bin directory.
5. Start Qt Creator by executing the qtcreator.sh script:

       ~> ./qtcreator.sh &

© 2018 Digi International Inc. All rights reserved.
1. Install the software updated on 22 January 2018 02:43:38 PM