From 4d8d91647e082f631ad962ff7b2c20b773d6b0b6 Mon Sep 17 00:00:00 2001 From: Christian Stenger Date: Wed, 14 Jul 2021 13:04:54 +0200 Subject: [PATCH] Tests: Fix nullptr access in QmlDesigner tests This is just a hot fix and will be replaced later on. Change-Id: I63fb5dcadc965ca2e9ade67b0b748f7abb011aff Reviewed-by: Jarek Kobus --- tests/auto/qml/qmldesigner/coretests/tst_testcore.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/auto/qml/qmldesigner/coretests/tst_testcore.h b/tests/auto/qml/qmldesigner/coretests/tst_testcore.h index 92d4ac00aa9..51bd8f496d6 100644 --- a/tests/auto/qml/qmldesigner/coretests/tst_testcore.h +++ b/tests/auto/qml/qmldesigner/coretests/tst_testcore.h @@ -29,6 +29,8 @@ #include +#include + class tst_TestCore : public QObject { @@ -237,4 +239,7 @@ private slots: // QMLAnnotations void writeAnnotations(); void readAnnotations(); + +private: + ExtensionSystem::PluginManager pm; // FIXME remove };