Solved Open external file (like test.txt) with its network share location?
-
Hi,
Normally I use to open externel files within Qt like ods file or txt file via below command:QDesktopServices::openUrl(QUrl("file:///" + fileLocation, QUrl::TolerantMode));
This command works well if file location like "r:\deneme\file.txt"
But when I use network location like "\WinShare\deneme\file.txt" then it's not working?!What is the difference and how can I solve this?!...
Regards,
Mucip:) -
@Mucip said in Open external file (like test.txt) with its network share location?:
\WinShare\deneme\file.txt
should be
QUrl::fromLocalFile( "//WinShare/deneme/file.txt" )
-
Dear @raven-worx
Work like a charm. Thanks.Regards,
Mucip:)