[Interest] Qt5 - Application compile error on overloaded qRound()
syamcr at gmail.com
Fri Aug 31 05:52:15 CEST 2012
On 08/31/2012 08:25 AM, Rohan McGovern wrote:
> Syam Krishnan said:
>> This version (qreal is a typedef to double) is matching with the
>> documentation (even Qt5 documentation mentions only qreal).
>> Should this be reported as a bug against Qt5? Another function
>> qRound64() also may have a problem.
> It doesn't seem like a Qt bug; rounding an integer doesn't make sense,
> right? It should be checked why that code (timescaleengine.cpp:235) is
> apparently attempting to round an integer.
Yes. I agree that its pointless to round an integer and this is probably
testing quality code in Qwt 'playground'.
However, why does Qt have two versions when the document mentions only one?
More information about the Interest