QFileDialog::getOpenFileNames fail to load thousands of files...
Hi, all:
I'm trying to load 5,000 files once at a time.
I succeeded in loading around 1,500 files, but I failed to load 5,000 files once.
A dialog jumps out to say
XXXXX
file not found.
Please verify the correct file name was given.
It looks when QT tries to load multiple files within a folder, it uses a buffer, which is not unlimited. It won't let me load (in my case ) over 5,000 file names once.
Anybody met the same situation?
Please do give me a hand.
Best Regards
JIA
Re: QFileDialog::getOpenFileNames fail to load thousands of files...
It's not Qt's fault. It's your system's fault. There is a system limit on the number of files that can be concurrently opened within a process.