[Qt-interest] QFileDialog or QStringList limit

Daniel Girardeau-Montaut daniel.girardeau at gmail.com
Wed Aug 12 13:18:44 CEST 2009


Good guess !

It works with the non-native dialog (which is sadly much slower).

Thank you very much,

Daniel

2009/8/12 Sean Harmer <sean.harmer at maps-technology.com>:
> 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
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>



More information about the Qt-interest-old mailing list