diff options
author | Christian Kandeler <christian.kandeler@qt.io> | 2017-08-01 18:10:36 +0200 |
---|---|---|
committer | Christian Kandeler <christian.kandeler@qt.io> | 2017-08-02 08:06:09 +0000 |
commit | 1eff54864642c459263de9653e26d9f56af04ce9 (patch) | |
tree | 7dce149858243c62fcb325b2bffba58536a970f4 /src/app | |
parent | de5db8cfb87f7c54fddd6d9ecc124cd33201de2a (diff) |
Do not access the bundle module unconditionally
It is a mistake that the NativeBinary item currently pulls in the bundle
module unconditionally (and also that the module is enabled everywhere).
We want to change that. Prepare for the change by removing all
unconditional accesses to the module's properties.
Change-Id: If57b8222c1a0e2b09c33520882446fa71401f1f1
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'src/app')
-rw-r--r-- | src/app/config-ui/config-ui.qbs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/app/config-ui/config-ui.qbs b/src/app/config-ui/config-ui.qbs index 33fe36eae..2222e6a17 100644 --- a/src/app/config-ui/config-ui.qbs +++ b/src/app/config-ui/config-ui.qbs @@ -26,6 +26,8 @@ QbsApp { cpp.frameworks: ["ApplicationServices", "Cocoa"] } - Depends { name: "bundle" } - bundle.isBundle: false + Properties { + condition: qbs.targetOS.contains("darwin") + bundle.isBundle: false + } } |