aboutsummaryrefslogtreecommitdiffstats
path: root/qbs.pro
diff options
context:
space:
mode:
authorJake Petroules <jake.petroules@qt.io>2017-09-20 18:54:40 -0700
committerJake Petroules <jake.petroules@qt.io>2017-11-01 17:01:27 +0000
commit6cb626668a0f5062afbd89a971dcc9488a6188d1 (patch)
tree4490a4102fca47560e7808707857071a9b626737 /qbs.pro
parent2e97dd0b29d17c0f81d6f2ad2dd947ba3f0ef2b9 (diff)
Automatically generate the QML type descriptions as part of the build
This guarantees that clients (such as Qt Creator) will always have up to date information. Change-Id: I1fe7d8ae8cd6960681f41e78635576cde3f17083 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'qbs.pro')
-rw-r--r--qbs.pro5
1 files changed, 4 insertions, 1 deletions
diff --git a/qbs.pro b/qbs.pro
index 9a50c545a..c3fa48fac 100644
--- a/qbs.pro
+++ b/qbs.pro
@@ -37,7 +37,9 @@ src_app.depends = setupqtprofilelib
src_libexec.subdir = src/libexec
src_plugins.subdir = src/plugins
CONFIG(shared, static|shared): src_plugins.depends = corelib
-tests.depends = corelib src_plugins
+tests.depends = static_res
+static_res.file = static-res.pro
+static_res.depends = src_app src_libexec src_plugins static.pro
SUBDIRS += \
corelib\
setupqtprofilelib\
@@ -45,6 +47,7 @@ SUBDIRS += \
src_libexec\
src_plugins\
static.pro\
+ static_res\
tests
OTHER_FILES += \