QT Creator Error while building deploying project

Error while building deploying project
is reported by QT creator

When QT creator compiles QT project, an error is reported: error while building deploying project.

The following tips may also appear

qt creator needs a tool chain set up to build. configure a tool chain in projects mode

 

This situation occurs when I open the past project, but the new project does not have this error.

The solution is as follows:

1. When the error reporting project is open, click the projects column on the left side of QT creator

Reload the XXX build desktop QT of the project in the build directory of the general column_ xxx_ Qt_ xxx_ Debug。 (by default, this part is gray and not enabled. Click Import exiting build below to enable it.)

 

After this operation, you can compile normally!

 

 

Read More: