Qt-Database

Ready to setup Qt creator for eSOMiMX6 ?

This article guides you to setup Qt creator for developing Qt applications by making use e-con Systems™’ eSOMiMX6 based development kit Ankaa.

Qt Creator

Qt Creator is a cross-platform IDE for development with the Qt framework. It provides you with tools for accomplishing your tasks throughout the whole application development life-cycle, from creating a project to deploying the application on the target platforms.

Prerequisites

  • You must have a Ubuntu PC with Qt Creator installed on it.
  • Poky Toolchain – The poky toolchain consists of cross compiler, debugger and qmake which will be used for cross compiling and debugging Qt application for eSOMiMX6 device(s). You can download Poky toolchain from our developer website.

Add a Target Device

Go to Tools => Options. In the left panel, click on Devices and add a new device representing the target device:

  • Press Add and choose Generic Linux Device

    • Specifiy a name (e.g. eSOMiMX6)

    • Fill in the device’s IP address

    • Leave the authentication by default: Password, User ”root”, empty password

Add Kit

In the left panel, click on Build & Run and configure in the following tabs:

  • Qt Versions:

    • Press Add

    • Choose /opt/poky/2.1.3/sysroots/x86_64-pokysdk-linux/usr/bin/qt5/qmake

    • Fill in a name

  • Compilers:

    • Press Add => Gcc

    • Name: eSOMiMX6-4.3-G++

    • Compiler path: /opt/poky/2.1.3/sysroots/x86_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi-g++

    • ABI (should be detected automatically): arm-linux-generic-elf-32bit

  • Debuggers:

    • Press Add

    • Name: eSOMiMX6-4.3-GDB

    • Path: /opt/poky/2.1.3/sysroots/x86_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi-gdb

  • Kit:
    • Press Add

    • Name: eSOMiMX6-4.3

    • Device: eSOMiMX6

    • Sysroot: /opt/poky/2.1.3/sysroots/cortexa9hf-vfp-neon-poky-linux-gnueabi

    • Compiler: eSOMiMX6-4.3-G++

    • Debugger: eSOMiMX6-4.3-GDB

    • Qt version: Qt5.7.0 (qt5)

    • Qt mkspec: linux-oe-g++

Now you can create a new Qt project using the eSOMiMX6-4.3 Kit. Qt Creator automatically configures build configurations for the cross compiling Kit.

Please visit our developer website to download detailed instructions to setup QtCreator for eSOMiMX6 devices and sample programs on Qt.

For further assistance and queries please get in touch with sales@e-consystems.com