diff options
author | Lars Knoll <lars.knoll@digia.com> | 2013-10-01 12:34:20 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-10-31 22:01:40 +0100 |
commit | d8bf317546bcfab0b6b50375218429fa9d470705 (patch) | |
tree | 91bfee6bbf56d25002d819c46e5778e49d3c4679 /dist | |
parent | e696bef863ba4cc21a36cbfdc0d6e811060916f7 (diff) |
make qreal double by default on all platforms
On modern ARM CPUs there is no speed difference between
float and double anymore, so let's rather use double for
qreal to avoid rounding and precision issues. Like this
we also get much better compatibility with our desktop
OSes.
This is not binary compatible on ARM, but the old behavior
can be restored by passing -qreal float to configure.
Change-Id: I2a4b61e19a3dfa6b0bd76734cecf2634c97207fc
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'dist')
-rw-r--r-- | dist/changes-5.2.0 | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/dist/changes-5.2.0 b/dist/changes-5.2.0 index 1eda87b553..c0db0f28f9 100644 --- a/dist/changes-5.2.0 +++ b/dist/changes-5.2.0 @@ -16,9 +16,20 @@ Each of these identifiers can be entered in the bug tracker to obtain more information about a particular change. **************************************************************************** +* Architecture Specific Changes * +**************************************************************************** + +Qt is now compiled with qreal typedef'ed to double on all platforms. qreal +was a float on ARM chipsets before. This guarantees more consistent behavior +between all platforms Qt supports, but is binary incompatible to Qt 5.1 +on ARM. The old behavior can be restored by passing -qreal float to +configure. + +**************************************************************************** * Library * **************************************************************************** + QtWidgets --------- |