Build applications on remote Linux devices

In addition to building applications for a generic Linux device, you can use the toolchain on the device to build the applications on the device.

To build applications on a remote Linux device:

  1. Go to Preferences > Devices > Devices, and then select Add to add a remote Linux device.
  2. Go to Preferences > CMake > CMake Tools, and then select Add to add the path to the CMake executable on the remote Linux device.
  3. Go to Preferences > Kits > Qt Versions, and then select Add to add the Qt version on the remote Linux device
  4. Go to Preferences > Kits > Compilers, and then select Add to add the the compiler on the remote Linux device.
  5. Go to Preferences > Kits, and then select Add to add a kit for building for the device.
  6. Select the device, CMake tool, Qt version, and compiler that you added above.
  7. In Run device type and Build device, select Remote Linux Device.
  8. To specify build settings:
    1. Open a project for an application you want to develop for the device.
    2. Select Projects > Build & Run to activate the kit that you specified above.
  9. 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.

See also Add CMake tools, How To: Develop for remote Linux, How To: Manage Kits, Developing for Remote Linux Devices, Remote Linux Deploy Configuration, and Remote Linux Run Settings.

Copyright © The Qt Company Ltd. and other contributors. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.