[Digikam-devel] [Bug 296141] Make digikam compile on ARM

Francesco Riosa francesco+kde at pnpitalia.it
Tue Mar 20 15:29:15 GMT 2012


https://bugs.kde.org/show_bug.cgi?id=296141

Francesco Riosa <francesco+kde at pnpitalia.it> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #13 from Francesco Riosa <francesco+kde at pnpitalia.it> ---
Git commit 42b51fc3af4c724bd3b88ed6cd602ea49baf7f18 by Francesco Riosa.
Committed on 20/03/2012 at 16:15.
Pushed by riosa into branch 'master'.

fix compilation under ARM device.

qReal translate to different types on different architectures.
Consensus is that the current state of affairs will be kept for qt 5.0
too [1].

Luckily the function affected "SearchFieldRangeInt" is only used to
store exposure times [2] where 6 precision digit suffice.

So we add functions to write <float> and cast to <qReal> where needed
and be done with that.

[1] https://bugreports.qt-project.org/browse/QTBUG-23758
[2] ChangeLog 2008-07-07 For use with the exposuretime field ...

P.S. CustomStepsDoubleSpinBox could be converted to
     CustomStepsFloatSpinBox but seem not worth the effort.
     Marcel hope you're ok with this

CCMAIL: marcel.wiesweg at gmx.de

M  +14   -0    libs/database/searchxml.cpp
M  +2    -0    libs/database/searchxml.h
M  +2    -2    libs/widgets/graphicsview/regionframeitem.cpp
M  +1    -1    utilities/searchwindow/searchfields.cpp

http://commits.kde.org/digikam/42b51fc3af4c724bd3b88ed6cd602ea49baf7f18

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the Digikam-devel mailing list