QT operation directly crashes, and the error is the process was ended forcefully

1. The possible causes are: a variable is declared but not initialized, but a variable declared but not initialized is called directly somewhere, which will cause the QT operation to crash directly and report the error the process was ended forcefully

Figure 1

For personal reasons, the initialization of declared variables is annotated, so the operation will directly crash and report an error

Figure 2


Read More: