diff options
author | Jake Petroules <jake.petroules@qt.io> | 2016-11-29 00:18:16 -0800 |
---|---|---|
committer | Jake Petroules <jake.petroules@qt.io> | 2016-12-16 20:59:01 +0000 |
commit | 383b073e6c9284bea18f2bf6af0d7240c69c12ff (patch) | |
tree | 561404a7bc95e98313ab411836bfbe2f1238f183 /src/lib/corelib/corelib.qbs | |
parent | 7ebdd6ef8002e949469ed4dad4be8414dd0b2aab (diff) |
Allow scanner plugins to be built statically
Scanner plugins will now also be built statically when Qbs is built
against a static Qt, enabling single-binary distributions.
Change-Id: Id2587b79815bcc6d9ec569f5b168445fe7e843d3
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'src/lib/corelib/corelib.qbs')
-rw-r--r-- | src/lib/corelib/corelib.qbs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/corelib/corelib.qbs b/src/lib/corelib/corelib.qbs index 2aaeefe84..3c1309d21 100644 --- a/src/lib/corelib/corelib.qbs +++ b/src/lib/corelib/corelib.qbs @@ -8,6 +8,8 @@ QbsLibrary { Depends { name: "Qt"; submodules: ["core-private", "network", "script", "xml"] } Depends { condition: qbsbuildconfig.enableProjectFileUpdates; name: "Qt.gui" } Depends { condition: qbsbuildconfig.enableUnitTests; name: "Qt.testlib" } + Depends { condition: Qt.core.staticBuild; name: "qbs_cpp_scanner" } + Depends { condition: Qt.core.staticBuild; name: "qbs_qt_scanner" } name: "qbscore" cpp.includePaths: base.concat([ ".", |