qt - QML FileDialog nameFilters case sensitive on Linux? -
the following code correctly display *.ext , *.ext files on windows , mac. it not display *.ext (and of course *.ext, *.ext, *.ext...) files on linux. what's mistake?
import qtquick 2.3 import qtquick.dialogs 1.1 filedialog { title: "please choose file" namefilters: [ "scene files (*.ext)" ] selectmultiple: true }
the linux file system case sensitive, , why won't return *.ext files.
the following should work:
namefilters: [ "scene files (*.ext *.ext)" ]
Comments
Post a Comment