Click the exe of Qt, and it pops up that the input point of the program cannot be located/xx.dll cannot be found
as shown above
At this time, the system environment variable path has been set
Reason: The
**waitkey()** function is used in the program code. At this time, the first process is paused, and another process is starting/running, so when the wait ends, a conflict occurs and the program ends abnormally.
Solution:
delete waitkey(). Or replace it with the sleep operation in Qt. If it is a problem with other threads, you can create multiple threads or thread pools to operate.