Hi,
I have a form in which I want to show a manual of the program. The manual is a html-file, which also contains images.
I'm trying to show that manual through a QTextEdit-widget on the form. This is the code I use :
(manualContent being the QTextEdit widget)Code:QFile f("C:\\Data\\Manual\\ScreenVisionSystem.htm");
if(f.open(QIODevice::ReadOnly | QIODevice::Text)){
manualContent->setHtml(QString(f.readAll()));
My problem : if I use *.bmp-files in the html-manual, then everything is alright. If I however use *.jpg or *.gif files, none of the images are shown. Can someone please tell me what is going on, what the reason is, and (if possible) how to solve this.
Thanx
