summaryrefslogtreecommitdiffstats
path: root/tests/auto/core/vector3d_sse/tst_vector3d_sse.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/core/vector3d_sse/tst_vector3d_sse.cpp')
-rw-r--r--tests/auto/core/vector3d_sse/tst_vector3d_sse.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/auto/core/vector3d_sse/tst_vector3d_sse.cpp b/tests/auto/core/vector3d_sse/tst_vector3d_sse.cpp
index 7ea79a5f5..e99dd0e6f 100644
--- a/tests/auto/core/vector3d_sse/tst_vector3d_sse.cpp
+++ b/tests/auto/core/vector3d_sse/tst_vector3d_sse.cpp
@@ -29,12 +29,15 @@
#include <QtTest/QtTest>
#include <Qt3DCore/private/vector3d_sse_p.h>
+#ifdef QT_COMPILER_SUPPORTS_SSE2
using namespace Qt3DCore;
+#endif
class tst_Vector3D_SSE: public QObject
{
Q_OBJECT
private Q_SLOTS:
+#ifdef QT_COMPILER_SUPPORTS_SSE2
void defaultConstruction()
{
// GIVEN
@@ -812,6 +815,7 @@ private Q_SLOTS:
QVERIFY(!v0.isNull());
}
}
+#endif // QT_COMPILER_SUPPORTS_SSE2
};
QTEST_APPLESS_MAIN(tst_Vector3D_SSE)