[Qt-interest] How to tell a file is on the local network.

Mihail Naydenov mlists at ymail.com
Sat Jan 1 10:41:31 CET 2011


Hello, and Happy New Year!

A quick question: Is there a way to tell if a QUrl and/or QString and/or 
QFileInfo points to a file located on the local network?
AFAIK both cases have schema "file:"., so it seam to me the only way is to test 
the path itself (for begins with // on windows), but this is not cross platform 
if I recall.

Thank You, and again happy and successful 2011!
MihailNaydenov



      



More information about the Qt-interest-old mailing list