diff options
author | Jake Petroules <jake.petroules@qt.io> | 2017-10-19 00:58:22 +0200 |
---|---|---|
committer | Jake Petroules <jake.petroules@qt.io> | 2017-11-22 16:48:33 +0000 |
commit | e9b79f0d5165dc71dac10ed76b5fa06508672605 (patch) | |
tree | 4a06ccedb5829e07da4c523ee0e268d467ea3f0c /tests/auto/blackbox/testdata/innosetup | |
parent | 9193447cb4f7242816bffde0b6101636632ebd17 (diff) |
Add qbs.targetPlatform and qbs.hostPlatform properties
This allows users to set the target platform from within project files,
since it is a scalar value. The values of qbs.targetOS and qbs.hostOS
are now derived from these new scalar properties.
[ChangeLog] Added qbs.targetPlatform and qbs.hostPlatform properties
which are scalar versions of qbs.targetOS and qbs.hostOS.
qbs.targetPlatform is a "write-only" property that can be used to
set the OS/platform that is being targeted, while qbs.targetOS
and qbs.hostOS should continue to be used to *read* the OS/platform
that is being targeted. qbs.targetOS is also now read-only.
Task-number: QBS-1070
Change-Id: Id3fd206a5b2ebee2d626f3e5ab02ecd1dc90d90a
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'tests/auto/blackbox/testdata/innosetup')
-rw-r--r-- | tests/auto/blackbox/testdata/innosetup/innosetup.qbs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/auto/blackbox/testdata/innosetup/innosetup.qbs b/tests/auto/blackbox/testdata/innosetup/innosetup.qbs index 5fe23a73e..679f1de8f 100644 --- a/tests/auto/blackbox/testdata/innosetup/innosetup.qbs +++ b/tests/auto/blackbox/testdata/innosetup/innosetup.qbs @@ -13,9 +13,11 @@ Project { innosetup.includePaths: ["inc"] innosetup.defines: ["MyProgram=" + name, "MyProgramVersion=" + version] innosetup.compilerFlags: ["/V9"] + qbs.targetPlatform: "windows" } InnoSetup { name: "Example1" files: [FileInfo.joinPaths(innosetup.toolchainInstallPath, "Examples", name + ".iss")] + qbs.targetPlatform: "windows" } } |