summaryrefslogtreecommitdiffstats
path: root/tests/auto/core/matrix4x4_sse/tst_matrix4x4_sse.cpp
diff options
context:
space:
mode:
authorTarja Sundqvist <tarja.sundqvist@qt.io>2023-04-24 10:13:22 +0300
committerTarja Sundqvist <tarja.sundqvist@qt.io>2023-04-24 10:13:22 +0300
commit01aa0a9cb22ce5ed2b7ead03ed9cbeb5f978e897 (patch)
tree7f3349013c4744d7a70be064c3919d3c4d313800 /tests/auto/core/matrix4x4_sse/tst_matrix4x4_sse.cpp
parente94b0fa39a2f4bf260969fb18bf075dba39b2df1 (diff)
parent8adc1cb84bd9a570a9ffa867ca2967a2328134de (diff)
Merge remote-tracking branch 'origin/tqtc/lts-5.15.10' into tqtc/lts-5.15-opensourcev5.15.10-lts-lgpl
Diffstat (limited to 'tests/auto/core/matrix4x4_sse/tst_matrix4x4_sse.cpp')
-rw-r--r--tests/auto/core/matrix4x4_sse/tst_matrix4x4_sse.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/auto/core/matrix4x4_sse/tst_matrix4x4_sse.cpp b/tests/auto/core/matrix4x4_sse/tst_matrix4x4_sse.cpp
index dccf90d10..9bd3afc83 100644
--- a/tests/auto/core/matrix4x4_sse/tst_matrix4x4_sse.cpp
+++ b/tests/auto/core/matrix4x4_sse/tst_matrix4x4_sse.cpp
@@ -29,7 +29,9 @@
#include <QtTest/QtTest>
#include <Qt3DCore/private/matrix4x4_sse_p.h>
+#ifdef QT_COMPILER_SUPPORTS_SSE2
using namespace Qt3DCore;
+#endif
class tst_Matrix4x4_SSE: public QObject
{
@@ -37,6 +39,7 @@ class tst_Matrix4x4_SSE: public QObject
private Q_SLOTS:
+#ifdef QT_COMPILER_SUPPORTS_SSE2
void defaultConstruction()
{
// GIVEN
@@ -520,6 +523,7 @@ private Q_SLOTS:
QCOMPARE(resultingVec.toQVector3D(), tmpMat.mapVector(tmpVec3));
}
}
+#endif // QT_COMPILER_SUPPORTS_SSE2
};
QTEST_MAIN(tst_Matrix4x4_SSE)