From 3b28a6956cb3cab087481312dc82a907b118e0de Mon Sep 17 00:00:00 2001 From: Milian Wolff Date: Thu, 16 Jun 2016 22:55:43 +0200 Subject: Add a test that emits signals from C++ and checks them in QML This is again trying to reproduce the issue described in the bug report, but it also passes for me. Still, it's good to have this tested in more depth. Change-Id: Ibaaefd7359d558c3b59af3d86a1260ab06caa598 Task-number: QTBUG-54074 Reviewed-by: Frederik Gladhorn --- tests/auto/qml/qml.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tests/auto/qml/qml.cpp') diff --git a/tests/auto/qml/qml.cpp b/tests/auto/qml/qml.cpp index 0c6919e..1d99fec 100644 --- a/tests/auto/qml/qml.cpp +++ b/tests/auto/qml/qml.cpp @@ -40,11 +40,13 @@ #include "testtransport.h" #include "testwebchannel.h" +#include "testobject.h" int main(int argc, char **argv) { qmlRegisterType("QtWebChannel.Tests", 1, 0, "TestTransport"); qmlRegisterType("QtWebChannel.Tests", 1, 0, "TestWebChannel"); + qmlRegisterType("QtWebChannel.Tests", 1, 0, "TestObject"); return quick_test_main(argc, argv, "qml", QUICK_TEST_SOURCE_DIR); } -- cgit v1.2.1