Qt and files in shared folders

后端 未结 1 1716
面向向阳花
面向向阳花 2021-01-24 00:40

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条回答
  • 2021-01-24 01:21

    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.

    0 讨论(0)
提交回复
热议问题