Asynchronous Programming – Part 3: Concurrency in C++ with Qt6 The Signal-Slot Principle QThreadPool Listing 7: Using QThreadPool through inheritance. The second option is to directly pass a callable ...
我现在想点击主线程中的一个按钮,然后才让线程池开始工作,线程池工作完后告诉我们,有木有办法实现?但似乎继承自QRunnable的类定义了槽也不能用,有木有办法实现?