aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/blackbox/testdata-windows
diff options
context:
space:
mode:
authorRaphael Cotty <raphael.cotty@gmail.com>2022-01-28 11:46:05 +0100
committerraphaelcotty <raphaelcotty@codereview.qt-project.org>2022-01-31 22:26:39 +0000
commitaa2094761aec16001ac0d19bf85483fdc2c78611 (patch)
treee2fcc1a97d4ba0ce6a2d57069d700da8c7ef74ec /tests/auto/blackbox/testdata-windows
parentf726d465ff6365846e5a78f61e2cedd6e9ff6609 (diff)
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/blackbox/testdata-windows')
-rw-r--r--tests/auto/blackbox/testdata-windows/wix/WiXInstallers.qbs3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/auto/blackbox/testdata-windows/wix/WiXInstallers.qbs b/tests/auto/blackbox/testdata-windows/wix/WiXInstallers.qbs
index 7e1dbf5e3..1316d07d7 100644
--- a/tests/auto/blackbox/testdata-windows/wix/WiXInstallers.qbs
+++ b/tests/auto/blackbox/testdata-windows/wix/WiXInstallers.qbs
@@ -1,4 +1,5 @@
import qbs.FileInfo
+import qbs.Host
Project {
WindowsInstallerPackage {
@@ -19,7 +20,7 @@ Project {
WindowsSetupPackage {
Depends { name: "QbsSetup" }
- condition: qbs.hostOS.contains("windows") // currently does not work in Wine with WiX 3.9
+ condition: Host.os().contains("windows") // currently does not work in Wine with WiX 3.9
name: "QbsBootstrapper"
targetName: "qbs-setup-" + qbs.architecture
files: ["QbsBootstrapper.wxs"]