Local html-images in QTextBrowser



  • Well here is the problem.

    I have an html-file (actually a collection of help-files) and when I want to show that file in a QTextBrowser, it only shows me a file-icon.

    My html-code looks like:
    <.img src="../images/image.png"/>

    And what i do in application:
    @ui->txtHelp->setHtml(QString(helpData));@

    How can i fix this?


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.