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.
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
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:
- QFileDialog alternative that uses default file dialog defined by OS?
In previous versions, there was no easy way to show network shares in the QFileDialog on Windows.