[Qt-interest] QFileDialog or QStringList limit
Sean Harmer
sean.harmer at maps-technology.com
Wed Aug 12 12:44:41 CEST 2009
Hi,
On Wednesday 12 Aug 2009 11:19:48 Daniel Girardeau-Montaut wrote:
> 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).
This uses a native windows file dialog which may well have a limitation on the
maximum length of the string returned. Try instantiating a QFileDialog to
avoid Qt using the native windows version as the Qt version may not have this
limitation. Worth a try.
Sean
More information about the Qt-interest-old
mailing list