Getting started on NXP


This topic provides all the necessary information to get started on the NXP platforms supported by Qt Quick Ultralite.

Configure the Qt Creator IDE

Assuming that you have all the prerequisites installed, follow these instructions configure the Qt Creator IDE for NXP boards:

To develop for MCUs using the Qt Creator IDE, the MCU plugin is required. The Qt online installer enables it by default when you install the Qt for MCUs SDK.

To enable or disable the plugin, follow these instructions:

  1. Select Help > About Plugins and choose the MCU Support plugin from the list.
  2. Restart Qt Creator to apply changes

To build and run your application on MCUs, you must create a kit:

  1. Select Tools > Options > Devices > MCU
  2. If not already set, provide the path to the Qt for MCUs installation directory.
  3. Select a Target supported by the Qt for MCUs SDK. For example, Qt for MCUs dev - Desktop 32bpp.
  4. In the Requirements section, ensure that the platform-specific requirements are met.
  5. Select Automatically create kits for all available targets on start to create kits automatically.

    Note: You could also manually create/remove kits using Create Kit and Remove Kit.

  6. Click Apply and restart Qt Creator if you choose to create kits automatically.

Note: The Automatically create kits for all available targets on start option is available from Qt Creator v4.14 onwards. On older versions of Qt Creator, you have to explictly create or remove kits using Create kit or Remove kit.

You could also set up the development environment from the command prompt. See Commmand-line Setup for NXP Boards for more information.

Flashing the firmware

Flashing and debugging NXP boards requires the board to have the OpenSDA firmware. If an incorrect firmware is flashed, the tools may fail to establish connection with the device.

To check the firmware, connect your device to your development host and open the provided USB storage device. In the DETAILS.TXT file, look for the line starting with "USB Interfaces". It has to list "CDC" and "HID". If these are missing, you are probably using an incorrect firmware.

NXP provides the firmware for download. On the download page, select the type of your type of board and download the "Default firmware application, DAPLink". After flashing this to your board by following the instructions from NXP, the CDC and HID interface should be listed.

Building applications with prebuilt Qt Quick Ultralite libraries

Open the CMake project file for the example you want to build and configure it with the kit you created earlier. Once the project is configured, select Run or press Ctrl+r on your keyboard to build and flash the binary to the target.

Board-specific information

Hardware boardMCUCompilerOperating system(s)
NXP MIMXRT1050-EVKBMIMXRT1052DVL6BGNU Arm 9, IAR Build Tools for Arm V8.50Bare Metal, FreeRTOS (Tech preview)
NXP MIMXRT1060-EVKMIMXRT1060DVL6AGNU Arm 9, IAR Build Tools for Arm V8.50Bare Metal
NXP MIMXRT1064-EVKMIMXRT1064DVL6AGNU Arm 9, IAR Build Tools for Arm V8.50Bare Metal, FreeRTOS (Tech preview)
NXP MIMXRT1170-EVKMIMXRT1176DVMAAGNU Arm 9, IAR Build Tools for Arm V8.50FreeRTOS (Tech preview)

Available under certain Qt licenses.
Find out more.