Solved How to check if it is a network drive
-
I got Data (QDir::dirves() -> FileInfoList)
How to check if it is a network drive???
-
@Qt-Jo-Ha
I don't think Qt has a call for this.You could find a way to (try to) get this information via
QStorageInfo
.Otherwise the simplest way is to use the Windows GetDriveType function.
-
thank you. Fortunately, I found that function and used it to solve it.