Demand
Automatically remove the release exception after setting the window to close
While running, press and hold ALT+F4 to force quit the program, the program window closes after a while, the system will error, the screenshot below:
Solution Ideas
1. Prioritize code exceptions, start by looking at the code, see where the exception is, and finally navigate to the following code exception
SetAttribute (Qt::wa_deleteonclose);
According to the normal reason is impossible to abnormal rush out, but the actual results and expectations do not match.
2. Re-establish the new project, plus the above code, or the collapse
3. Replacement of another computer, ALT+F4 exit does not break the conclusion
Perhaps because the computer installed a lot of software, vs2008,vs2010,qt4.7,qt5.2 Static library version and dynamic library version, but also various environments, resulting in some environment variables or library version of the wrong and so on one of these reasons.