diff options
author | Ivan Komissarov <abbapoh@gmail.com> | 2020-05-30 14:06:39 +0200 |
---|---|---|
committer | Ivan Komissarov <ABBAPOH@gmail.com> | 2020-06-08 09:38:41 +0000 |
commit | f197d5832ba75b0619c0c70a31b1df73f100a5d3 (patch) | |
tree | 04b31a2bf86972ac24637a76532a1a37d8ff14b4 /examples/install-bundle | |
parent | b3f6412f49929a1f0c99a8aae9254bc6becd49cd (diff) | |
download | qbs-f197d5832ba75b0619c0c70a31b1df73f100a5d3.tar.gz |
Fix TestBlackboxExamples with iOS profile
Change-Id: Ic5b37c323c726227311d5c0c73477da8043e3315
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'examples/install-bundle')
-rw-r--r-- | examples/install-bundle/install-bundle.qbs | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/examples/install-bundle/install-bundle.qbs b/examples/install-bundle/install-bundle.qbs index ac5a6c255..9cd856dbd 100644 --- a/examples/install-bundle/install-bundle.qbs +++ b/examples/install-bundle/install-bundle.qbs @@ -3,12 +3,16 @@ import qbs.FileInfo Project { CppApplication { + Depends { name: "bundle" } Depends { name: "windowutils" } Depends { name: "ib"; condition: qbs.targetOS.contains("darwin") } Depends { name: "Qt"; submodules: ["core", "gui", "widgets"] } + condition: qbs.targetOS.contains("macos") + || qbs.targetOS.contains("linux") + || qbs.targetOS.contains("windows") name: "window" - property bool isBundle: qbs.targetOS.contains("darwin") && bundle.isBundle + property bool isBundle: bundle.isBundle targetName: isBundle ? "Window" : "window" files: [ "main.cpp", @@ -22,7 +26,7 @@ Project { cpp.minimumMacosVersion: "10.10" Group { - fileTagsFilter: isBundle ? ["bundle.content"] : ["application"] + fileTagsFilter: qbs.targetOS.contains("darwin") && isBundle ? ["bundle.content"] : ["application"] qbs.install: true qbs.installDir: isBundle ? "Applications" : (qbs.targetOS.contains("windows") ? "" : "bin") qbs.installSourceBase: product.buildDirectory @@ -30,6 +34,7 @@ Project { } DynamicLibrary { + Depends { name: "bundle" } Depends { name: "cpp" } name: "windowutils" |