summaryrefslogtreecommitdiffstats
path: root/tests/auto/core/vector4d_sse/tst_vector4d_sse.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/core/vector4d_sse/tst_vector4d_sse.cpp')
-rw-r--r--tests/auto/core/vector4d_sse/tst_vector4d_sse.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/auto/core/vector4d_sse/tst_vector4d_sse.cpp b/tests/auto/core/vector4d_sse/tst_vector4d_sse.cpp
index ed9722ffb..2e539491f 100644
--- a/tests/auto/core/vector4d_sse/tst_vector4d_sse.cpp
+++ b/tests/auto/core/vector4d_sse/tst_vector4d_sse.cpp
@@ -30,12 +30,16 @@
#include <Qt3DCore/private/vector4d_sse_p.h>
#include <Qt3DCore/qt3dcore-config.h>
+#ifdef QT_COMPILER_SUPPORTS_SSE2
using namespace Qt3DCore;
+#endif
class tst_Vector4D_SSE: public QObject
{
Q_OBJECT
private Q_SLOTS:
+
+#ifdef QT_COMPILER_SUPPORTS_SSE2
void defaultConstruction()
{
// GIVEN
@@ -915,6 +919,7 @@ private Q_SLOTS:
QVERIFY(!v0.isNull());
}
}
+#endif // QT_COMPILER_SUPPORTS_SSE2
};
QTEST_APPLESS_MAIN(tst_Vector4D_SSE)