View Single Post
Posts: 202 | Thanked: 385 times | Joined on Jul 2018
#105
ok - how about this ...
Trying to rpm build from source. Hit several bumps and found solutions, but I'm stumped on this part.

Getting an error on code
Code:
= qMin(qMin(s.width() / 2, s.height() / 2), f)
.
The error is
Code:
graphicswidget/rect.cpp: In member function 'vir
tual void karin::rect::setRadius(float)':
graphicswidget/rect.cpp:293:55: error: no matchi
ng function for call to 'qMin(const double&, flo
at&)'
= qMin(qMin(s.width() / 2, s.height() / 2), f);
                                             ^
I'm totally unfamiliar with this type of code, but my searching hints that the key to the problem is in the fact that something tjere represents a 'double', so that 'f)' part needs to say something else, but can't figure it out ...

Last edited by levone1; 2021-07-07 at 02:48.
 

The Following User Says Thank You to levone1 For This Useful Post: