[Qt-interest] Find Picture file

Daniel Hartwig qtng at ixs-linux.de
Mon Dec 1 12:21:03 CET 2008


Hi,

i need a function which find my pictures.
I have Documents like:
Document_a.txt
Document_b.txt
and this Pictures:
Document_a.jpeg
Document_b.gif

now my Problem is, that i didn't know how to find the picture, because
it can be have gif/jpeg /jpg/png/... Picturetype.
But in my function i get the name.

findPicture(QString path){
// path = /home/sidux/Program/Document_a
	???
}

Do someone has an idea?

thanks :)



More information about the Qt-interest-old mailing list