Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在将 bash 命令的输出写入文件中。在 Qt 中,我想读取这个文件,因为它正在被写入。该命令逐渐写入输出。我怎样才能实现这样的目标?
您可以使用QFileSystemWatcher类监视文件更改