[Qt-interest] QFileDialog or QStringList limit

Daniel Girardeau-Montaut daniel.girardeau at gmail.com
Wed Aug 12 12:19:48 CEST 2009


Dear All,

I'm trying to load a large number of files (~3000) with
QFileDialog::getOpenFileNames (on Windows). All the filenames have
approximately the same length (24 to 26 characters).

When I try to load all the files in one shot, I get a corrupted
(truncated) filename around the 1200th.

I guess this is due to a size limit either from QFileDialog or
QStringList ? Is there a way to overcome this limit ?

Best regards,

Daniel Girardeau-Montaut



More information about the Qt-interest-old mailing list