title: Qt global css stylesheet?
body: <p>In Qt, it is possible to use a subset of html and css to style (for example) QLabels:</p>
  
  <pre><code>QLabel label = new QLabel("This link will be colored: "&lt;a style='color:#00aeef;' href='http://www.example.com'&gt;link&lt;/a&gt;.");
  </code></pre>
  
  <p><strong>My question:</strong></p>
  
  <p>Is it possible to use a global stylesheet that makes all links in all QLabels colored or do I have to add the inline style to <em>every</em> link in <em>every</em> label?</p>
  
  <p><strong>Note</strong></p>
  
  <p>As far as I know, the style I want to change cannot be modified (as suggested in <a href="https://stackoverflow.com/questions/11681943/qt-global-style-sheet-loading">this question</a>) with <a href="http://doc.qt.io/qt-5/qapplication.html#styleSheet-prop" rel="nofollow noreferrer">QApplication::setStyleSheet</a>. I want to change the style of <a href="http://doc.qt.io/qt-5/richtext-html-subset.html" rel="nofollow noreferrer">embedded HTML markup</a>, but <em>setStyleSheet</em> only modifies styles of <a href="http://doc.qt.io/qt-5/stylesheet-reference.html" rel="nofollow noreferrer">QT Objects</a> (no "a href" element anywhere on this page).</p>