summaryrefslogtreecommitdiff
path: root/tests/auto/blackbox/testdata
diff options
context:
space:
mode:
authorIvan Komissarov <abbapoh@gmail.com>2020-03-16 22:15:51 +0100
committerIvan Komissarov <ABBAPOH@gmail.com>2020-03-18 16:29:07 +0000
commit6e7faeedbc24f496e6521fd380f6fc4fb39d6df2 (patch)
tree1e0b3fd4b7df40b3ab756c521a363c657ad2fd5f /tests/auto/blackbox/testdata
parentdcd57b60f8a79a2ee9c46cb5fddf60846302d375 (diff)
downloadqbs-6e7faeedbc24f496e6521fd380f6fc4fb39d6df2.tar.gz
Make Library.qbs configurable
Move all tag installation code to the Library.qbs to make it possible to switch between dynamic/static libraries in user code. Also, add test for the LoadableModule item. Change-Id: I947977e5974f9c37d27be6ccd7ad3d117a05af18 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'tests/auto/blackbox/testdata')
-rw-r--r--tests/auto/blackbox/testdata/install-locations/install-locations.qbs6
-rw-r--r--tests/auto/blackbox/testdata/install-locations/theplugin.cpp3
2 files changed, 9 insertions, 0 deletions
diff --git a/tests/auto/blackbox/testdata/install-locations/install-locations.qbs b/tests/auto/blackbox/testdata/install-locations/install-locations.qbs
index 8a97f74a1..044ecf710 100644
--- a/tests/auto/blackbox/testdata/install-locations/install-locations.qbs
+++ b/tests/auto/blackbox/testdata/install-locations/install-locations.qbs
@@ -23,4 +23,10 @@ Project {
Depends { name: "cpp" }
files: "thelib.cpp"
}
+ LoadableModule {
+ name: "theplugin"
+ install: true
+ Depends { name: "cpp" }
+ files: "theplugin.cpp"
+ }
}
diff --git a/tests/auto/blackbox/testdata/install-locations/theplugin.cpp b/tests/auto/blackbox/testdata/install-locations/theplugin.cpp
new file mode 100644
index 000000000..ac1ede090
--- /dev/null
+++ b/tests/auto/blackbox/testdata/install-locations/theplugin.cpp
@@ -0,0 +1,3 @@
+#include "../dllexport.h"
+
+DLL_EXPORT void pluginFunc() {}