diff options
| author | Arthur LAURENT <[email protected]> | 2022-06-09 23:58:46 +0200 |
|---|---|---|
| committer | Arthur LAURENT <[email protected]> | 2022-06-09 23:58:46 +0200 |
| commit | 7b9a4f0ce02fc059e76fa9cba90425fd75f0326e (patch) | |
| tree | e74bf06063f2daaf5b7f6ebc5a98a257c0c8745a /tests/projects/qt/quickplugin/src/Plugin.cpp | |
| parent | 50f55f6e0e7ce6a5474fb5dd784c90321371396c (diff) | |
Add qt.quickplugin test
Diffstat (limited to 'tests/projects/qt/quickplugin/src/Plugin.cpp')
| -rw-r--r-- | tests/projects/qt/quickplugin/src/Plugin.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
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); +} |
