From 02c5209db58ae000bdd5066e9bc4cc6c875646f7 Mon Sep 17 00:00:00 2001 From: Ulf Hermann Date: Wed, 7 Feb 2018 17:25:24 +0100 Subject: QmlDebug: Use EngineControl to hold engines until we're done with them Holding the engines with EngineControl makes sure we always receive the full trace before the connection drops. Task-number: QTBUG-66269 Change-Id: I9177c2a52743ba781547696508342c8d98557121 Reviewed-by: Simon Hausmann --- tests/auto/qml/debugger/qqmlprofilerservice/BLACKLIST | 10 ---------- .../debugger/qqmlprofilerservice/tst_qqmlprofilerservice.cpp | 7 ++++--- 2 files changed, 4 insertions(+), 13 deletions(-) delete mode 100644 tests/auto/qml/debugger/qqmlprofilerservice/BLACKLIST (limited to 'tests') diff --git a/tests/auto/qml/debugger/qqmlprofilerservice/BLACKLIST b/tests/auto/qml/debugger/qqmlprofilerservice/BLACKLIST deleted file mode 100644 index 30e254e164..0000000000 --- a/tests/auto/qml/debugger/qqmlprofilerservice/BLACKLIST +++ /dev/null @@ -1,10 +0,0 @@ -# QTBUG-66230 -[profileOnExit] -osx -windows -[translationBinding] -osx -windows -[memory] -osx -windows diff --git a/tests/auto/qml/debugger/qqmlprofilerservice/tst_qqmlprofilerservice.cpp b/tests/auto/qml/debugger/qqmlprofilerservice/tst_qqmlprofilerservice.cpp index c32fa7ea7d..90c61afe13 100644 --- a/tests/auto/qml/debugger/qqmlprofilerservice/tst_qqmlprofilerservice.cpp +++ b/tests/auto/qml/debugger/qqmlprofilerservice/tst_qqmlprofilerservice.cpp @@ -244,9 +244,10 @@ QQmlDebugTest::ConnectResult tst_QQmlProfilerService::connect( m_isComplete = false; // ### Still using qmlscene due to QTBUG-33377 - return QQmlDebugTest::connect(QLibraryInfo::location(QLibraryInfo::BinariesPath) + "/qmlscene", - restrictServices ? QStringLiteral("CanvasFrameRate") : QString(), - testFile(file), block); + return QQmlDebugTest::connect( + QLibraryInfo::location(QLibraryInfo::BinariesPath) + "/qmlscene", + restrictServices ? QQmlDebuggingEnabler::profilerServices().join(',') : QString(), + testFile(file), block); } void tst_QQmlProfilerService::checkProcessTerminated() -- cgit v1.2.3