Qt compile and run can not find libgcc_s_seh-1.dll
Code execution cannot continue because libgcc_s_seh-1.dll could not be found. Reinstalling the program may resolve this issue.
Network disk download:
Link: https://pan.baidu.com/s/1SHH8YO2gua5qV70JblAL5A Extraction code: cmkh
This is due to the problem of missing library files (the missing dll files may be different for different machines).
So how do we solve such a problem? There are two ways:
① One is that we find the missing library file and put it in the corresponding directory.
We can directly go to the C:\Qt\Qt5.8.0\5.8\mingw53_32\bin directory to search for the corresponding file in the search box, and copy it to the directory where the exe file is located. But this method cannot be done once and for all, we can use the following method to do it once and for all.
②We can do it once and for all by setting environment variables. The specific method is:
1} Open Advanced System Settings
2) Click on Environment Variables
3) Find Path and click Edit
4) Click Edit and copy the corresponding bin directory path into it
This should be okay. Note that some machines need to be restarted.