diff options
author | Andreas Holzammer <andreas.holzammer@kdab.com> | 2012-11-30 15:39:58 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2012-12-03 09:22:13 +0100 |
commit | 72388121aa4b576277a7dfbc7cd18224bfaa6ad4 (patch) | |
tree | 34761be472d1c0630f6339807d02ff83bda95ed7 /src/gui/math3d/qquaternion.cpp | |
parent | 0d40958347ad0b60fb1ccd15ab7a59e1407e945d (diff) |
WINCE: Fix missing cosf
cosf seems to be defined in the cmath header
for Windows CE, so include it to fix the
issue of not finding the symbol cosf.
Change-Id: I7317668838912325d45be0d4087ae3055940d3cd
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Diffstat (limited to 'src/gui/math3d/qquaternion.cpp')
-rw-r--r-- | src/gui/math3d/qquaternion.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/math3d/qquaternion.cpp b/src/gui/math3d/qquaternion.cpp index 3f39fa43c3..2ccdd315d3 100644 --- a/src/gui/math3d/qquaternion.cpp +++ b/src/gui/math3d/qquaternion.cpp @@ -45,6 +45,8 @@ #include <QtCore/qvariant.h> #include <QtCore/qdebug.h> +#include <cmath> + QT_BEGIN_NAMESPACE #ifndef QT_NO_QUATERNION |