Important: Please read the Qt Code of Conduct -

Trying to create a "Paint Brush," Tool, having some trouble

  • I'm trying to create a "Paint Brush," tool for a drawing applicaiton I'm working. I was hoping I could use QPainterPath to let the user draw the line, then let QPainter render the line with a Qt::RadialGradientPattern, but that doesn't seem to be working.

    Are there any other idea I could try to acchive this?

  • Search for the Path Stroke qt example.
    When you have examples installed just go to your welcome Page in Qt Creator and search for it.

    That could be what you want.

Log in to reply