Requirements for Linux/X11

Instructions in this documentation assume Ubuntu Linux 64-bit 20.04 LTS or later. Other Linux distributions might work, but have not been tested.

Installing Platform Dependencies

Before you can build the applications with Boot to Qt, you must have the correct build tools and other dependencies installed in the development host:

C/C++ build essentialsBoot to Qt assumes that a C++ compiler, debugger, make, and other development tools are provided by the host operating system.
Python3Required by the Boot to Qt toolchain installer.
libusb-1.0Required by the QDB tool.

You can install the dependencies with the following command in a terminal:

sudo apt-get install build-essential python3 libusb-1.0-0

Note: The requirements for building your own embedded Linux image are listed in Setting Up Environment for Building Boot to Qt.

If you have problems with installing the build essentials, see https://help.ubuntu.com/community/InstallingCompilers.

Setting Up USB Access to Embedded Devices

If you target only the emulator, you can skip this step.

On Ubuntu Linux, the development user account must have access to plugged in devices. To allow the development user access to the device via USB, create a new udev rule.

  1. Run the following command in a shell:
    echo 'SUBSYSTEM=="usb", ATTRS{idVendor}=="dbdb", TAG+="udev-acl", TAG+="uaccess"' | sudo tee -a /etc/udev/rules.d/70-boot2qt.rules
  2. Connect the running device to the development host with a USB cable. If the device is already connected, disconnect and reconnect the USB cable after running the command above.

The system log files /var/log/udev and /var/log/syslog may provide relevant information in case of connection problems.

Available under certain Qt licenses.
Find out more.