error: no match for 'operator*'
I'm trying to compile KDiff3 in QT5 but I'm stuck on this error, can anyone help?
error: no match for 'operator*' (operand types are 'QAtomicInt' and 'double')
m_pProgressBar->setValue( int( 1000.0 * ( i->m_current * (i->m_dRangeMax - i->m_dRangeMin) / i->m_maxNofSteps + i->m_dRangeMin ) ) );
The error relates to this section of the above: m_current *
operator int() has been removed, try