Hello

I'm trying to just make a simple paint program (like the paint application in for Windows). I want to write it all in C++. However, I can only find things in QML. I used this tutorial and it worked, but it is written in QML, not C++.

https://www.youtube.com/watch?v=CR2qQebqv6I&t=371s

Can anyone help? I tried using Scribble. But I copy pasted the code first to see if it worked, but nothing showed up. I tried using these tutorials:

http://doc.qt.io/qt-5/qtwidgets-widg...earea-cpp.html
http://doc.qt.io/qt-5/qtwidgets-widg...e-example.html


Thanks!