Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

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