Is it okay to use the examples from the documentation in their projects?

Good evening all.
Recently started to learn Qt using only the documentation and Google. Having dealt with the basic features of the framework and reviewing a lot of finished works, I decided to write a small project. One of the parts of this project is the visualization of sorting algorithms using QChart. Since I've never worked with graphs in Qt, with Qt itself, you have to watch very, very many examples, in order to do everything not only working, but also beautiful. Accordingly, many pieces of code from documentation and examples (under Examples in the documentation or QtCreator) I am modifying under your task, use in your project. But in this case, can I then call this project if my code there is 30% (mainly logic)? If I have then the right to publish it on e.g. github under his authorship? Can I say that this is my work and add it to portfolio? Is it normal at all this way to learn/study the technology and writing projects, or you always have to try to do everything myself?
Thanks in advance to all for your answers <Z
April 7th 20 at 10:41
2 answers
April 7th 20 at 10:43
Yes.
April 7th 20 at 10:45
Yes, more than half of the programs is gathered from the examples.
Developers even have a saying: it is easier to collect examples, or to convince the customer that he does not need this feature.

Find more questions by tags QtIT education