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
parent
94d1d84861
commit
09fc0d60e8
|
|
@ -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
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue