Hi all,
I have a .qrc file in which i have stored a html file and few images in the same folder. The html file uses these images to display them. I'am setting this html document in a QTextbrowser. I am loading the html file using the sethtml() function. But i'm unable to load the images in the document. How do i get the images to be displayed? Here is my code:

QFile htmlString(":/pathtohtml");
QImage preview(":/img.png");

if(htmlString.open( QIODevice::ReadOnly))