PDA

View Full Version : Loading files using Qt



A.H.M. Mahfuzur Rahman
9th June 2009, 11:53
For my project, I want to load files using Qt.

The User will select a folder and the program will load all the image(.png,.jpg) files from the folder, manipulate them and give some output based on this.

Please anyone help how this can be done?

Thanks in advance.
Mahfuz

aamer4yu
9th June 2009, 12:09
Have a look at QFileDialog::getExistingDirectory
You can get the directory from it and then through QDir::entryInfoList get the file names...
Rest I guess you know :)

A.H.M. Mahfuzur Rahman
9th June 2009, 18:34
Thank you very much. It works.:)