Qt environment variable configuration and error resolution
Before running the exe file generated by Qt, the computer environment variables need to be configured, otherwise an error will be reported, and the dll file is missing.
Cannot continue to execute code because qt5cored.dll cannot be found
Unable to locate program input point
Unable to locate program input point_ZdaPvj in dynamic link library
The solution is as follows:
Right-click "This Computer", select Properties, search for "Environment Variables" in the search bar, and select "Edit System Environment Variables", as shown in the figure below: Click
Environment Variables:
Be sure to pay attention here, select Path in the system variables , and click Edit
So far, the environment variables have been added, and the Qt program can be run happily!