2.2. Set up DEY compilers

1. Configure DEY Qt Compiler

Follow these steps to configure the Digi Embedded Yocto Qt compiler:

  1. Click Tools > Options.
  2. Select Build & Run from the list at the left.
  3. In the right pane, select the Qt Versions tab
  4. Click Add to add a new Qt compiler.
  5. Navigate through your file system and select the qmake binary installed within your platform toolchain, usually located at:
    <toolchain_installation_path>/sysroots/x86_64-deysdk-linux/usr/bin/qt5/qmake

  6. Click Apply to save the new Qt compiler.

Note If you receive a warning message stating that there was already a configured binary for the same Qt version, ignore it and close the popup.

2. Configure DEY C Compiler

Follow these steps to configure the Digi Embedded Yocto C compiler:

  1. Click Tools > Options.
  2. Select Build & Run from the list at the left.
  3. In the right pane, select the Compilers tab
  4. Click Add and select GCC > C from the drop-down menu to add a new C native compiler.
  5. Enter a name to identify the new C compiler, for example <PLATFORM>_DEY_GCC.
  6. Click Browse to fill the C compiler path. A file system explorer dialog opens.
  7. Navigate through your file system and select the arm-dey-linux-gnueabi-gcc binary installed within your platform toolchain, usually located at:
    <toolchain_installation_path>/sysroots/x86_64-deysdk-linux/usr/bin/arm-dey-linux-gnueabi/arm-dey-linux-gnueabi-gcc

  8. Select arm-linux-generic-elf-32bit from the ABI drop-down.

  9. Click Apply to save the new C compiler.

3. Configure DEY C++ compiler

Follow these steps to configure the Digi Embedded Yocto C++ compiler:

  1. Click Tools > Options.
  2. Select Build & Run from the list at the left.
  3. In the right pane, select the Compilers tab
  4. Click Add and select GCC > C++ from the drop-down menu to add a new C++ native compiler.
  5. Enter a name to identify the new C++ compiler, for example <PLATFORM>_DEY_G++.
  6. Click Browse to fill the C++ compiler path. A file system explorer dialog opens.
  7. Navigate through your file system and select the arm-dey-linux-gnueabi-g++ binary installed within your platform toolchain, usually located at:
    <toolchain_installation_path>/sysroots/x86_64-deysdk-linux/usr/bin/arm-dey-linux-gnueabi/arm-dey-linux-gnueabi-g++

  8. Select arm-linux-generic-elf-32bit from the ABI drop-down.
  9. Click Apply to save the new C++ compiler.