Error building Opencv4 with Qt5

can we get back to your original problem, please ?

which might be:

something in the opencv code needs ‘hypot’, but your compiler does not have this in it’s math.h ?