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 *

Answers


operator int() has been removed, try

i->m_current.loadAcquire()

Need Your Help

Is jQuery UI missing a state?

jquery jquery-ui jquery-ui-plugins

The jQuery UI widgets seem to have inactive, active, and hover states, but lack a depressed (clicked-and-held) state. Is this an oversight? Just about every modern UI I can think of have a depressed

File Upload in WebView (4.4.2)android

android webview

I have read this article below,but the progress bar and upload file don't work for android(4.4.2)