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.
我QDir::exists用来检查目录。但是,当检查的目录名称(字符串)指向不可用的映射网络目录时,该函数需要很长时间(最多 10 秒或更长时间)才能返回。
QDir::exists
我怎样才能实现更短的超时?或者有什么更好的检查吗?