PDA

View Full Version : QT Paint Application



desporous
1st October 2017, 20:03
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-widgets-scribble-scribblearea-cpp.html
http://doc.qt.io/qt-5/qtwidgets-widgets-scribble-example.html


Thanks!

ednakram
3rd October 2017, 22:09
You are on the right track by trying out the Scribble test application.

Did you get a clean compilation and an executable? Which executable did you try to run after compiling?