[Qt-interest] QDir failing to list non-ascii directories
Robin Hill
qt at robinhill.me.uk
Thu Nov 12 12:58:07 CET 2009
I've got a bit of a strange problem with using QDir. I've tracked down
a bug within MythTV to the QDir.entryInfoList call, and this is failing
to return all entries within the directory (it's skipping entries with
non-ascii characters).
I've written a small application (using exactly the same logic) to read
the same directory, and this _does_ return all entries (running under
the same user account). I've attached this application.
I've looked at the QT documentation and I can't see anything that would
cause this - there's no filter being set on the QDir object, and I can't
find any global settings/parameters which would cause this.
Does anyone have any suggestions on what might be causing this issue (or
how to work around it)?
Cheers,
Robin
--
___
( ' } | Robin Hill <qt at robinhill.me.uk> |
/ / ) | Little Jim says .... |
// !! | "He fallen in de water !!" |
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.cpp
Type: text/x-c++src
Size: 743 bytes
Desc: not available
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20091112/81f666c0/attachment.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20091112/81f666c0/attachment-0001.bin
More information about the Qt-interest-old
mailing list