C

Intel NUC Guide

To successfully set up the Boot to Qt Software Stack, you must closely follow the instructions in this section and perform all the described tasks.

In case of problems, see Troubleshooting.

Note: After you have installed the Boot to Qt software stack and want to connect to the target device with SSH or a serial cable, you can access the device by using the user root and an empty password.

Before you install the Boot to Qt Software Stack, you should note the requirements related to the development hosts:

2. Installing Boot to Qt Software Stack

For your device, the Boot to Qt Software Stack is available via the QBSP file. Download the QBSP file via Qt Account Downloads:

  1. Select Downloads.
  2. In Select License, select your license.
  3. In Product, select Boot to Qt QBSP.
  4. Select the QBSP file for your device.
  5. Select Download.

You can install the QBSP via the Qt online installer. On Linux, see General Installation Issues for Linux.

  1. Launch the Qt online installer.
  2. Follow the instructions until you are in the Select components page.
  3. Click on Browse QBSP files (1) and select the QBSP file.

After this, the content of the QBSP file is available in the component selection tree.

Select the Boot to Qt Software Stack for Intel NUC with the following steps:

  1. Select Boot to Qt Software Stack.
  2. Select the Boot to Qt Software Stack version.
  3. Select Intel NUC.
  4. Select Next.

To finish the installation, follow the instructions in the installer.

Installation Content

The Boot to Qt Software Stack provides a system image (<target-device> System) and a toolchain (<target-device> Toolchain) for each target device. The system image contains the Boot to Qt Software Stack and needs to be flashed to the SD card or directly to the target device (see 3. Installing Boot to Qt on Target Device). The toolchain is required for building and developing applications for the target devices.

General Installation Issues for Linux

On Linux, remember to allow the execution of the installer binary. You can do this by using one of the following methods:

  • On the command line enter the chmod +x <filename> command.
  • Right-click the file, and select Properties > Permissions > Allow executing file as program.

Note: Do not execute the installer as a root user or with sudo.

Installation Directory

The installer will let you select a directory where the Boot to Qt Software Stack will be installed. In this documentation, the installation directory is referred to as <INSTALL_DIR>. The default installation directories are:

  • ~/Qt on Linux
  • C:\Qt on Windows
  • ~/Qt on macOS

3. Installing Boot to Qt on Target Device

Before you can test your Qt applications on the target device, you must flash the target device with an image containing the Boot to Qt Software Stack. After you have successfully flashed your device, Boot to Qt Startup Screen automatically appears on the screen when you power on the device.

Use Flashing Wizard to flash the image to your Intel NUC:

  • Connect your USB flash drive to the development host. Make sure that the USB flash drive size is at least 2 GB. You can also use an SD card if your Intel NUC has an internal SD card reader.
  • Launch Qt Creator.
  • Select Tools > Flash Boot to Qt Device, and follow the instructions in Flashing Wizard.

After you have flashed the device, you need to set up a wired or wireless network for configuring Qt Creator.

4. Configuring a Device Kit in Qt Creator

Intel NUC hardware does not support client connections via USB. You need to set up a wired or wireless network in order to use this device.

After you have prepared the target device, you must set up the development tools in Qt Creator for your device. Connect your device to the network via an Ethernet cable and launch Qt Creator. In Qt Creator:

  1. Select Edit > Preferences > Devices > Add.
  2. Select Boot2Qt Device > Start Wizard.
  3. Enter the device name and network address (IPv4). You can check the device address in the Launcher Settings when the device is running the Boot to Qt demo.
  4. Select Finish.

You also have to configure the correct device to be used for each build and run kit:

  1. Select Edit > Preferences > Kits.
  2. Select one of the predefined kits starting with Boot to Qt... that matches the type of your device.
  3. Select the correct device in the Device field.
  4. Select OK.

You are now ready to start developing with Qt for your device. For detailed information about how to deploy Qt projects to the device, see Tutorial: Deploying Your First Project with Boot to Qt.

5. Powering on with Boot to Qt Startup Screen

After you have successfully flashed your device with Boot to Qt Software Stack, Boot to Qt Startup Screen automatically appears on the screen when you power on the device.

Available under certain Qt licenses.
Find out more.