P
P
Pavel2015-06-27 13:22:44
Qt
Pavel, 2015-06-27 13:22:44

What is the cause of compilation errors?

img-2015-06-27-13-20-14.png?etag=B3F10B2

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vitaly, 2015-06-27
@yankeenoobs

There in the log it is written after the red circle that you are trying to pull non-const methods in the const method that can change the internal state of the object. Those. all getters must be const.
Hint: think, if it didn’t work out, open Google, copy the description of the error, read on stackoverflow how to solve a similar problem, solve it.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question