Fix qmath autotest for arm

Change the data type of PI from qreal to double, because qreal is defined as float and not as double on arm.
The testcase however expects PI to be a double value.

Change-Id: I003481071ecb2c1f54e6dcee9b450da2f1654969
Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com>
Reviewed-by: Laszlo Papp <lpapp@kde.org>
bb10
Fabian Bumberger 2013-03-11 17:54:50 +01:00 committed by The Qt Project
parent 94d1d84861
commit 09fc0d60e8
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@
#include <QtTest/QtTest>
#include <qmath.h>
static const qreal PI = 3.14159265358979323846264338327950288;
static const double PI = 3.14159265358979323846264338327950288;
class tst_QMath : public QObject
{