构建和运行

Qt Creator provides support for running and deploying Qt applications built for different target platforms, or using different compilers, debuggers, or Qt versions. Kits define the tools, device type and other settings to use when building and running your project.

  • 预览

    You can use the QML live preview to preview a QML file or an entire Qt Quick application on the desktop, as well as on Android and embedded Linux devices. The changes you make to the UI are instantly visible to you in the preview.

  • 为多个平台进行构建

    Build configurations contain everything you need to compile the sources into binaries. Build configurations use the tools and settings defined in their corresponding kit.

  • 在多个平台上运行

    Run configurations start the application in the location where it was copied by the 部署配置 . By default, when you select the 运行 function, Qt Creator builds the project, deploys it to the device defined in the kit, and runs it there. However, if you have not made any changes to the project since you last built and deployed it, Qt Creator simply runs it again.

  • 部署到设备

    Deploy configurations handle the packaging and copying of the necessary files to a location you want to run the executable at. The files can be copied to a location in the file system of the development PC or a device.

  • 连接设备

    When you install tool chains for device types as part of a Qt distribution, the build and run settings for the devices might be set up automatically. However, you might need to install and configure some additional software on the devices to be able to connect to them from the development PC.

  • 定制构建过程

    By default, running an application also builds it and deploys it to a location from where it can be run on the device. You can change the relationship between the build, run, and deploy configurations.