這可以透過使用QFuture::onFailed()方法來解決,該方法允許我們為每種可能的錯誤型別附加特定的錯誤處理程式:auto future = QtConcurrent::run(download, url)...