Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-44914

Setting link color from QGuiApplication works, contrary to what docs state

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 5.4.1
    • Documentation
    • None

    Description

      In http://doc.qt.io/qt-5/qpalette.html#ColorRole-enum it states: "Note that we do not use the Link and LinkVisited roles when rendering rich text in Qt, and that we recommend that you use CSS and the QTextDocument::setDefaultStyleSheet() function to alter the appearance of links." but it seems like it has been fixed in https://codereview.qt-project.org/#/c/68874/

      HT to shausman for help finding the fix.

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              docteam Qt Documentation Team
              mulvad Christian Sejersen
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes