Qt and files in shared folders
-
26-10-2019 - |
Question
Can I use Qt to pick/open files on shared folder? I've tried to use QFileDialog, but it seems that there is no "network" category, as in standrd windows explorer.
Solution
You need to specify which version of Qt you are using. Versions 4.7+ have support for native file dialogs and use them by default. See the accepted answer here:
In previous versions, there was no easy way to show network shares in the QFileDialog on Windows.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow