From 8cd62fde42a601d07cc47450b69ebb5ee60bd4b0 Mon Sep 17 00:00:00 2001 From: Aqua-sama Date: Sat, 3 Jun 2017 13:24:14 +0200 Subject: Test plugin loading --- smolbote.qbs | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) (limited to 'smolbote.qbs') diff --git a/smolbote.qbs b/smolbote.qbs index 573706c..0ae87d5 100644 --- a/smolbote.qbs +++ b/smolbote.qbs @@ -58,6 +58,7 @@ Project { files: [ "src/browser.cpp", "src/browser.h", + "src/interfaces.h", "src/main.cpp", ] cpp.defines: { @@ -180,5 +181,25 @@ Project { qbs.install: true qbs.installDir: "share/smolbote" } - } + } // CppApplication poi + + DynamicLibrary { + id: testPlugin + name: "testPlugin" + Depends { name: "cpp" } + Depends { name: "Qt"; submodules: ["core", "widgets", "webengine", "webenginewidgets"] } + + files: [ + "src/interfaces.h", + "src/testplugin.cpp", + "src/testplugin.h", + ] + + Group { + fileTagsFilter: product.type + qbs.install: true + qbs.installDir: "lib/smolbote/plugins" + } + + } // DynamicLibrary testPlugin } -- cgit v1.2.1