From 7b9a4f0ce02fc059e76fa9cba90425fd75f0326e Mon Sep 17 00:00:00 2001 From: Arthur LAURENT Date: Thu, 9 Jun 2022 23:58:46 +0200 Subject: Add qt.quickplugin test --- tests/projects/qt/quickplugin/src/Plugin.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 tests/projects/qt/quickplugin/src/Plugin.cpp (limited to 'tests/projects/qt/quickplugin/src/Plugin.cpp') diff --git a/tests/projects/qt/quickplugin/src/Plugin.cpp b/tests/projects/qt/quickplugin/src/Plugin.cpp new file mode 100644 index 000000000..9138c68b0 --- /dev/null +++ b/tests/projects/qt/quickplugin/src/Plugin.cpp @@ -0,0 +1,10 @@ +#include "Plugin.h" + +void qml_register_types_My_Plugin(); + +///////////////////////////////////// +///////////////////////////////////// +Plugin::Plugin(QObject *parent) : QQmlEngineExtensionPlugin { parent } { + volatile auto registration = &qml_register_types_My_Plugin; + Q_UNUSED(registration); +} -- cgit v1.3.1