divide
29th July 2011, 15:37
Hi,
I use QFileDialog::getOpenFileName with different filters, and one default filters with all supported extensions ("All Supported Formats (*.ext1 *.ext2 *.ext3...)".
So this default filter can get pretty larger if many formats are supported.
It works on Windows 7, but when used on Windows XP the default filter gets truncated after 255 chars or so. So only the first extensions in this filter are used, a lot of files cannot be displayed because of that.
Any idea/workaround ? (other than using a single dirty *.* filter).
Thanks
I use QFileDialog::getOpenFileName with different filters, and one default filters with all supported extensions ("All Supported Formats (*.ext1 *.ext2 *.ext3...)".
So this default filter can get pretty larger if many formats are supported.
It works on Windows 7, but when used on Windows XP the default filter gets truncated after 255 chars or so. So only the first extensions in this filter are used, a lot of files cannot be displayed because of that.
Any idea/workaround ? (other than using a single dirty *.* filter).
Thanks