Qt calculate - with good test.