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

How to change color of the text cursor



  • Hi,

    I want to change the color of the text cursor (the blinking line specifying the current position in the text) in a QWebView. The default is black which is fine until you have a dark background.

    My first problem is how can I change the color.
    Second problem is how to determine the difference between the background color (depends on the color defined in a css) and the text cursors color.


Log in to reply