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

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

XMLWordPrintable

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

      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.

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

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

              Created:
              Updated:

                There are no open Gerrit changes