[Solved] QDir::entryList and mac
-
Hi,
I don't get your problem. What would you expect from QDir::entryList when using it on a bundle ?
-
I have written a simple backup application, you can download it from my website and the source from kde-apps website. On Mac I see that it enumerates the files stored in special mac package files like pkg or app. It is using QDir::entryList to get the files list. Do you normally use Mac for develop or for test?
-
But you don't answer my question, what output do you expect from entryList when calling it with a bundle path ?
I use it for both
By the way, what version of Qt are you using ?
-
You can use QFileInfo::isBundle() to check whether the folder is a bundle
-
Then please update the thread title prepending [solved] so other forum users may know a solution has been found :)