Ubuntu18.04 qtcreater cannot run multi-threading (comes with running C++ files on the terminal)

The reason may be that qt's own library lacks the path executable file for thread multithreading
. Add LIBS +=-lpthread to the *pro file in the project file.
If the above operation does not solve the problem, just use the terminal to run c++ directly, py and other source files. Open the terminal in the source file path

Guess you like

Origin blog.csdn.net/Msyusheng/article/details/109554866