[Marble-devel] Compile error on MSVC 2010

Dennis Nienhüser earthwings at gentoo.org
Wed Feb 1 21:32:27 UTC 2012


Hi,

thanks for reporting, fixed.

Regards,
Dennis

commit 731324d1d451d965f5f67a9e6bbfe78df14b4c75
Author: Dennis Nienhüser <earthwings at gentoo.org>
Date:   Wed Feb 1 22:30:41 2012 +0100

    Use qRound instead of round (msvc).

:100644 100644 ae8d818... d256e91... M  src/lib/layers/PlacemarkLayout.cpp
:100644 100644 ee00715... 3ad6064... M 
src/plugins/render/elevationprofile/ElevationProfilePlotAxis.cpp

On 01.02.2012 09:52, PUHR Joachim wrote:
> Hello,
>
> Marblewidget does not compile on MSVC2010 due to the usage of the round() function in 
>
> PlacemarkLayout.cpp, lines 643/644/685
> ElevationProfileAxis, lines 98/109
>
> My suggestion is to use Qt's qRound() instead.
>
> J. Puhr
>
> _______________________________________________
> Marble-devel mailing list
> Marble-devel at kde.org
> https://mail.kde.org/mailman/listinfo/marble-devel
>



More information about the Marble-devel mailing list