summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorPaul Lemire <paul.lemire@kdab.com>2017-08-21 09:27:26 +0200
committerSimon Hausmann <simon.hausmann@qt.io>2017-08-22 12:08:41 +0000
commit4188591629f89e127ba3a64df65df5db5f586699 (patch)
tree9027d2a952f7c8b28b443696c2642b2232169b9a /tests
parent8f863343a9e2e2f3630f22407f4e5e30e72745cf (diff)
tst_graphicsapifilter: register signals type
This prevents warnings in the test and ensures the signal spies listen for the correct signals Change-Id: I3eecb3015ec39e1d01c319a436885bd4210405c1 Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/render/qgraphicsapifilter/tst_qgraphicsapifilter.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/auto/render/qgraphicsapifilter/tst_qgraphicsapifilter.cpp b/tests/auto/render/qgraphicsapifilter/tst_qgraphicsapifilter.cpp
index ac6f79b3f..9e0cb8e57 100644
--- a/tests/auto/render/qgraphicsapifilter/tst_qgraphicsapifilter.cpp
+++ b/tests/auto/render/qgraphicsapifilter/tst_qgraphicsapifilter.cpp
@@ -36,6 +36,13 @@
class tst_QGraphicsApiFilter : public QObject
{
Q_OBJECT
+public:
+ tst_QGraphicsApiFilter() : QObject()
+ {
+ qRegisterMetaType<Qt3DRender::QGraphicsApiFilter::Api>();
+ qRegisterMetaType<Qt3DRender::QGraphicsApiFilter::OpenGLProfile>();
+ }
+
private Q_SLOTS:
void defaultConstruction()
{