-
Finding Files
Hi,
i am writing an Explorer-like program by which you can browse in the File system.
I need to add a find function to my program.
What is the fastest way to do this in Qt.
I mean the fastest in running time not in coding time.
i hope i don't have to traverse the folders recursively by myself.
thanks...
-
Re: Finding Files
-
Re: Finding Files
thanks ;
but this example does not have recursive search like Explorer does.
I need to search for a file name recursively?
QDir::entryList() method does not work recursively which this example demonstrates.
-
Re: Finding Files
why cant you use a recursive algorithm like we did in our school for finding out the factorial? ..
just call the function again for each dir found in entrylist().
-
Re: Finding Files
If your application is going to run only on unix/linux then i think you could just use shell's find.