Connect Boot to Qt devices | Qt Creator Documentation

- Qt Creator Documentation
- Connect Boot to Qt devices
- Qt Creator 15.0.0

How To

# Connect Boot to Qt devices

Create connections between Boot to Qt devices and Qt Creator to run, debug, and analyze applications on them.

Note: Enable the Boot to Qt plugin to use it.

To configure connections between Qt Creator and a Boot to Qt device:

1. Check that you can reach the IP address of the device, or use USB to connect it.
2. Go to Preferences > Kits > Qt Versions.
3. Select Add to add the Qt version for Boot to Qt.
4. Go to Preferences > Kits > Compilers.
5. Select Add to add the compiler for building the applications.
6. Go to Tools > Flash Boot to Qt to flash the Boot to Qt image to an SD card with Boot to Qt Flashing Wizard.

7. Follow the instructions of the wizard to flash the image to the SD card.
8. Go to Preferences > Devices > Devices.
9. Select Add to add a Boot to Qt device.

   Qt Creator automatically detects devices connected with USB.

10. Go to Preferences > Kits.
11. Select Add to add a kit for building for the device.
12. Select the Qt version, compiler, and device that you added above.
13. In Run device type, select Boot2Qt Device.
14. To specify build settings:
    1. Open a project for an application you want to develop for the device.
    2. Go to Projects > Build & Run to activate the kit that you specified above.
15. Select Run to specify run settings. Usually, you can use the default settings.

    When you run the project, Qt Creator deploys the application as specified by the deploy steps. By default, Qt Creator copies the application files to the device.

See also Configure SSH connections, Generate SSH keys, Enable and disable plugins, How To: Develop for Boot to Qt, How To: Manage Kits, Boot to Qt Deploy Configuration, Boot to Qt Run Settings, and Developing for Boot to Qt Devices.

How To