Nov-03-2022, 01:29 PM
Okaay... I've been reading (yesterday's troubleshooting involved glossing over) and it looks like in versions of Qt since at least 5.8 the text cursor is related to the background color (which my experience finds). It seems Qt inverts the cursor based on background color. So, a white background will give you a black cursor, black gives white, red gives blue, etc.
setTextColor()
is said not to change cursor color being it's tied to the background. The solution I found is a QPaintEvent
. So, that's my findings.