diff options
author | Raphael Cotty <raphael.cotty@gmail.com> | 2022-01-28 11:46:05 +0100 |
---|---|---|
committer | raphaelcotty <raphaelcotty@codereview.qt-project.org> | 2022-01-31 22:26:39 +0000 |
commit | aa2094761aec16001ac0d19bf85483fdc2c78611 (patch) | |
tree | e2fcc1a97d4ba0ce6a2d57069d700da8c7ef74ec /tests/auto/api/testdata/tool-in-module/use-within-project/use-within-project.qbs | |
parent | f726d465ff6365846e5a78f61e2cedd6e9ff6609 (diff) | |
download | qbs-aa2094761aec16001ac0d19bf85483fdc2c78611.tar.gz |
Use Host and FileInfo service
Replace all the possible use of the qbs module that can be replaced by
the Host and FileInfo services.
Change-Id: I0d6f820bb2577eacd9081ec2df1eb53adf94d50e
Reviewed-by: Ivan Komissarov <ABBAPOH@gmail.com>
Diffstat (limited to 'tests/auto/api/testdata/tool-in-module/use-within-project/use-within-project.qbs')
-rw-r--r-- | tests/auto/api/testdata/tool-in-module/use-within-project/use-within-project.qbs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/auto/api/testdata/tool-in-module/use-within-project/use-within-project.qbs b/tests/auto/api/testdata/tool-in-module/use-within-project/use-within-project.qbs index d0f7c35ed..ab4e07170 100644 --- a/tests/auto/api/testdata/tool-in-module/use-within-project/use-within-project.qbs +++ b/tests/auto/api/testdata/tool-in-module/use-within-project/use-within-project.qbs @@ -1,3 +1,5 @@ +import qbs.Host + Project { CppApplication { name: "thetool" @@ -5,7 +7,7 @@ Project { files: "main.cpp" property bool skip: { - var result = qbs.targetPlatform !== qbs.hostPlatform; + var result = qbs.targetPlatform !== Host.platform(); if (result) console.info("Skip this test"); return result; |