diff options
author | Aqua-sama <aqua@iserlohn-fortress.net> | 2017-06-03 13:24:14 +0200 |
---|---|---|
committer | Aqua-sama <aqua@iserlohn-fortress.net> | 2017-06-03 13:24:14 +0200 |
commit | 8cd62fde42a601d07cc47450b69ebb5ee60bd4b0 (patch) | |
tree | db0c62a025fd626bf1c1aed2f63f160e13f3047a /smolbote.qbs | |
parent | Hiding ProfileView until a profile is selected (diff) | |
download | smolbote-8cd62fde42a601d07cc47450b69ebb5ee60bd4b0.tar.xz |
Test plugin loading
Diffstat (limited to 'smolbote.qbs')
-rw-r--r-- | smolbote.qbs | 23 |
1 files changed, 22 insertions, 1 deletions
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 } |