[Solved] error: invalid operands of types ‘QLabel*‘ and ‘void‘ to binary ‘operator>

Error in QT: invalid operators of types’ qlabel * ‘and’ void ‘to binary’ operator & gt; ‘ Wrong solution.

This kind of error is generally the operation symbol use error

For example:


Here ‘>’ operation symbol is wrong, changed to ‘->’, it will be OK!


Read More: