std::isinf() and std:isnan() is supported only for msvc >= 2017. For msvc < 2017 related definitions has been added to kdewin version 0.6.3. Backported from 5.0 branch, commit 73a2c94f. BUG:401448 FIXED-IN:4.8.3, 5.0.3