aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/api/testdata
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/api/testdata')
-rw-r--r--tests/auto/api/testdata/QBS-728/QBS-728.qbs2
-rw-r--r--tests/auto/api/testdata/add-qobject-macro-to-cpp-file/add-qobject-macro-to-cpp-file.qbs2
-rw-r--r--tests/auto/api/testdata/added-file-persistent/added-file-persistent.qbs2
-rw-r--r--tests/auto/api/testdata/app-without-sources/app-without-sources.qbs2
-rw-r--r--tests/auto/api/testdata/base-properties/imports/Bar.qbs2
-rw-r--r--tests/auto/api/testdata/base-properties/imports/Foo.qbs2
-rw-r--r--tests/auto/api/testdata/base-properties/prj.qbs1
-rw-r--r--tests/auto/api/testdata/build-error-code-location/build-error-code-location.qbs2
-rw-r--r--tests/auto/api/testdata/build-properties-source/build-properties-source.qbs2
-rw-r--r--tests/auto/api/testdata/build-single-file/build-single-file.qbs8
-rw-r--r--tests/auto/api/testdata/buildgraph-info/buildgraph-info.qbs2
-rw-r--r--tests/auto/api/testdata/buildgraph-locking/buildgraph-locking.qbs2
-rw-r--r--tests/auto/api/testdata/change-dependent-lib/change-dependent-lib.qbs2
-rw-r--r--tests/auto/api/testdata/check-outputs/check-outputs.qbs1
-rw-r--r--tests/auto/api/testdata/codegen/codegen.qbs1
-rw-r--r--tests/auto/api/testdata/command-extraction/command-extraction.qbs2
-rw-r--r--tests/auto/api/testdata/disabled-product/disabled-product.qbs2
-rw-r--r--tests/auto/api/testdata/disabled-project/disabled-project.qbs1
-rw-r--r--tests/auto/api/testdata/disabled_install_group/disabled_install_group.qbs2
-rw-r--r--tests/auto/api/testdata/duplicate-product-names/explicit.qbs2
-rw-r--r--tests/auto/api/testdata/duplicate-product-names/implicit-indirect.qbs2
-rw-r--r--tests/auto/api/testdata/duplicate-product-names/implicit.qbs2
-rw-r--r--tests/auto/api/testdata/duplicate-product-names/subdir1/subproject.qbs2
-rw-r--r--tests/auto/api/testdata/duplicate-product-names/subdir2/subproject.qbs2
-rw-r--r--tests/auto/api/testdata/empty-filetag-list/empty-filetag-list.qbs2
-rw-r--r--tests/auto/api/testdata/empty-submodules-list/empty-submodules-list.qbs2
-rw-r--r--tests/auto/api/testdata/enable-and-disable-product/enable-and-disable-product.qbs2
-rw-r--r--tests/auto/api/testdata/error-in-setup-run-environment/error-in-setup-run-environment.qbs2
-rw-r--r--tests/auto/api/testdata/error-in-setup-run-environment/modules/mymodule/mymodule.qbs2
-rw-r--r--tests/auto/api/testdata/excluded-inputs/excluded-inputs.qbs1
-rw-r--r--tests/auto/api/testdata/explicitly-depends-on/explicitly-depends-on.qbs1
-rw-r--r--tests/auto/api/testdata/export-item-with-group/export-item-with-group.qbs2
-rw-r--r--tests/auto/api/testdata/export-simple/export-simple.qbs2
-rw-r--r--tests/auto/api/testdata/export-with-recursive-depends/export-with-recursive-depends.qbs2
-rw-r--r--tests/auto/api/testdata/export-with-recursive-depends/modules/module1/module1.qbs2
-rw-r--r--tests/auto/api/testdata/export-with-recursive-depends/modules/module2/module2.qbs2
-rw-r--r--tests/auto/api/testdata/fallback-gcc/fallback-gcc.qbs2
-rw-r--r--tests/auto/api/testdata/file-tagger/moc_cpp.qbs1
-rw-r--r--tests/auto/api/testdata/filetagsfilter_override/InstalledApp.qbs2
-rw-r--r--tests/auto/api/testdata/filetagsfilter_override/filetagsfilter_override.qbs1
-rw-r--r--tests/auto/api/testdata/generated-files-list/generated-files-list.qbs2
-rw-r--r--tests/auto/api/testdata/infinite-loop-js/infinite-loop.qbs2
-rw-r--r--tests/auto/api/testdata/infinite-loop-process/infinite-loop.qbs7
-rw-r--r--tests/auto/api/testdata/infinite-loop-resolving/infinite-loop-resolving.qbs2
-rw-r--r--tests/auto/api/testdata/inherit-qbs-search-paths/imports/Foo.qbs2
-rw-r--r--tests/auto/api/testdata/inherit-qbs-search-paths/prj.qbs1
-rw-r--r--tests/auto/api/testdata/inherit-qbs-search-paths/subdir/modules/bli/m.qbs2
-rw-r--r--tests/auto/api/testdata/inherit-qbs-search-paths/subdir2/modules/bla/m.qbs2
-rw-r--r--tests/auto/api/testdata/installed-artifact/installed-artifact.qbs9
-rw-r--r--tests/auto/api/testdata/is-runnable/is-runnable.qbs2
-rw-r--r--tests/auto/api/testdata/lib-same-source/lib-same-source.qbs2
-rw-r--r--tests/auto/api/testdata/link-dynamiclibs-staticlibs/link-dynamiclibs-staticlibs.qbs2
-rw-r--r--tests/auto/api/testdata/link-dynamiclibs/link-dynamiclibs.qbs2
-rw-r--r--tests/auto/api/testdata/link-static-lib/link-static-lib.qbs2
-rw-r--r--tests/auto/api/testdata/link-staticlib-dynamiclib/link-staticlib-dynamiclib.qbs2
-rw-r--r--tests/auto/api/testdata/link-staticlibs-dynamiclibs/link-staticlibs-dynamiclibs.qbs2
-rw-r--r--tests/auto/api/testdata/local-profiles/local-profiles.qbs2
-rw-r--r--tests/auto/api/testdata/lots-of-dots/lots-of-dots.qbs2
-rw-r--r--tests/auto/api/testdata/missing-source-file/missing-source-file.qbs2
-rw-r--r--tests/auto/api/testdata/moc-cpp/moc-cpp.qbs2
-rw-r--r--tests/auto/api/testdata/moc-hpp-included/moc-hpp-included.qbs2
-rw-r--r--tests/auto/api/testdata/moc-hpp/moc-hpp.qbs2
-rw-r--r--tests/auto/api/testdata/multi-arch/multi-arch.qbs3
-rw-r--r--tests/auto/api/testdata/multiplexing/multiplexing.qbs1
-rw-r--r--tests/auto/api/testdata/new-output-artifact-in-dependency/new-output-artifact-in-dependency.qbs2
-rw-r--r--tests/auto/api/testdata/new-pattern-match/new-pattern-match.qbs2
-rw-r--r--tests/auto/api/testdata/nonexistingprojectproperties/invalidaccessfromproduct.qbs2
-rw-r--r--tests/auto/api/testdata/nonexistingprojectproperties/nonexistingprojectproperties.qbs2
-rw-r--r--tests/auto/api/testdata/objc/objc.qbs2
-rw-r--r--tests/auto/api/testdata/precompiled-header-dynamic/precompiled-header-dynamic.qbs1
-rw-r--r--tests/auto/api/testdata/precompiled-header-new/precompiled-header-new.qbs2
-rw-r--r--tests/auto/api/testdata/process-result/process-result.qbs8
-rw-r--r--tests/auto/api/testdata/productNameWithDots/productNameWithDots.qbs1
-rw-r--r--tests/auto/api/testdata/project-data-after-product-invalidation/project-data-after-product-invalidation.qbs2
-rw-r--r--tests/auto/api/testdata/project-editing/project-editing.qbs2
-rw-r--r--tests/auto/api/testdata/project-editing/project-with-no-files.qbs2
-rw-r--r--tests/auto/api/testdata/project-invalidation/project.early-error.qbs2
-rw-r--r--tests/auto/api/testdata/project-invalidation/project.late-error.qbs2
-rw-r--r--tests/auto/api/testdata/project-invalidation/project.no-error.qbs2
-rw-r--r--tests/auto/api/testdata/project-locking/project-locking.qbs2
-rw-r--r--tests/auto/api/testdata/project-properties-by-name/project-properties-by-name.qbs2
-rw-r--r--tests/auto/api/testdata/project-with-properties-item/project-with-properties-item.qbs2
-rw-r--r--tests/auto/api/testdata/properties-blocks/properties-blocks.qbs2
-rw-r--r--tests/auto/api/testdata/rc/rc.qbs2
-rw-r--r--tests/auto/api/testdata/recursive-wildcards/recursive-wildcards.qbs1
-rw-r--r--tests/auto/api/testdata/referenced-file-errors/cycle.qbs2
-rw-r--r--tests/auto/api/testdata/referenced-file-errors/modules/brokenmodule/brokenmodule.qbs2
-rw-r--r--tests/auto/api/testdata/referenced-file-errors/okay.qbs2
-rw-r--r--tests/auto/api/testdata/referenced-file-errors/okay2.qbs2
-rw-r--r--tests/auto/api/testdata/referenced-file-errors/referenced-file-errors.qbs2
-rw-r--r--tests/auto/api/testdata/referenced-file-errors/wrongtype.qbs2
-rw-r--r--tests/auto/api/testdata/references/invalid1.qbs2
-rw-r--r--tests/auto/api/testdata/references/invalid2.qbs2
-rw-r--r--tests/auto/api/testdata/references/subdir-with-one-project/p.qbs2
-rw-r--r--tests/auto/api/testdata/references/valid.qbs2
-rw-r--r--tests/auto/api/testdata/relaxed-mode-recovery/relaxed-mode-recovery.qbs2
-rw-r--r--tests/auto/api/testdata/remove-file-dependency/removeFileDependency.qbs2
-rw-r--r--tests/auto/api/testdata/rename-product/rename.qbs2
-rw-r--r--tests/auto/api/testdata/rename-target-artifact/rename.qbs2
-rw-r--r--tests/auto/api/testdata/restored-warnings/restored-warnings.qbs1
-rw-r--r--tests/auto/api/testdata/rule-conflict/rule-conflict.qbs2
-rw-r--r--tests/auto/api/testdata/run-disabled-product/run-disabled-product.qbs2
-rw-r--r--tests/auto/api/testdata/same-base-name/same-base-name.qbs2
-rw-r--r--tests/auto/api/testdata/simple-probe/simple-probe.qbs1
-rw-r--r--tests/auto/api/testdata/soft-dependency/soft-dependency.qbs2
-rw-r--r--tests/auto/api/testdata/source-file-in-build-dir/source-file-in-build-dir.qbs1
-rw-r--r--tests/auto/api/testdata/static-lib-deps/static-lib-deps.qbs2
-rw-r--r--tests/auto/api/testdata/subprojects/resources/modules/QtCoreDepender/qtcoredepender.qbs2
-rw-r--r--tests/auto/api/testdata/subprojects/resources/modules/cute/core/core.qbs2
-rw-r--r--tests/auto/api/testdata/subprojects/subproject2/subproject2.qbs2
-rw-r--r--tests/auto/api/testdata/subprojects/subproject2/subproject3/subproject3.qbs1
-rw-r--r--tests/auto/api/testdata/subprojects/toplevelproject.qbs2
-rw-r--r--tests/auto/api/testdata/target-artifact-status/target-artifact-status.qbs28
-rw-r--r--tests/auto/api/testdata/tool-in-module/use-outside-project/modules/thetool/thetool.qbs1
-rw-r--r--tests/auto/api/testdata/tool-in-module/use-outside-project/use-outside-project.qbs2
-rw-r--r--tests/auto/api/testdata/tool-in-module/use-within-project/use-within-project.qbs7
-rw-r--r--tests/auto/api/testdata/transformer-data/transformer-data.qbs1
-rw-r--r--tests/auto/api/testdata/transformers/transformers.qbs1
-rw-r--r--tests/auto/api/testdata/two-default-property-values/modules/mymodule/mymodule.qbs1
-rw-r--r--tests/auto/api/testdata/two-default-property-values/modules/myothermodule/myothermodule.qbs2
-rw-r--r--tests/auto/api/testdata/two-default-property-values/two-default-property-values.qbs2
-rw-r--r--tests/auto/api/testdata/type-change/type-change.qbs2
-rw-r--r--tests/auto/api/testdata/uic/uic.qbs2
123 files changed, 42 insertions, 239 deletions
diff --git a/tests/auto/api/testdata/QBS-728/QBS-728.qbs b/tests/auto/api/testdata/QBS-728/QBS-728.qbs
index a3090f7ae..5969e13cc 100644
--- a/tests/auto/api/testdata/QBS-728/QBS-728.qbs
+++ b/tests/auto/api/testdata/QBS-728/QBS-728.qbs
@@ -1,5 +1,3 @@
-import qbs
-
Product {
property bool isBlubbOS: qbs.targetOS.contains("blubb-OS")
qbs.profiles: isBlubbOS ? ["blubb-profile"] : [project.profile]
diff --git a/tests/auto/api/testdata/add-qobject-macro-to-cpp-file/add-qobject-macro-to-cpp-file.qbs b/tests/auto/api/testdata/add-qobject-macro-to-cpp-file/add-qobject-macro-to-cpp-file.qbs
index 40c5395ef..3794408b4 100644
--- a/tests/auto/api/testdata/add-qobject-macro-to-cpp-file/add-qobject-macro-to-cpp-file.qbs
+++ b/tests/auto/api/testdata/add-qobject-macro-to-cpp-file/add-qobject-macro-to-cpp-file.qbs
@@ -1,5 +1,3 @@
-import qbs
-
QtApplication {
files: ["main.cpp", "object.h", "object.cpp"]
}
diff --git a/tests/auto/api/testdata/added-file-persistent/added-file-persistent.qbs b/tests/auto/api/testdata/added-file-persistent/added-file-persistent.qbs
index 672886646..1f3b28f9b 100644
--- a/tests/auto/api/testdata/added-file-persistent/added-file-persistent.qbs
+++ b/tests/auto/api/testdata/added-file-persistent/added-file-persistent.qbs
@@ -1,5 +1,3 @@
-import qbs
-
CppApplication {
files: [
'main.cpp',
diff --git a/tests/auto/api/testdata/app-without-sources/app-without-sources.qbs b/tests/auto/api/testdata/app-without-sources/app-without-sources.qbs
index f12a28fe6..a366e0ce0 100644
--- a/tests/auto/api/testdata/app-without-sources/app-without-sources.qbs
+++ b/tests/auto/api/testdata/app-without-sources/app-without-sources.qbs
@@ -1,5 +1,3 @@
-import qbs 1.0
-
Project {
StaticLibrary {
name: "a"
diff --git a/tests/auto/api/testdata/base-properties/imports/Bar.qbs b/tests/auto/api/testdata/base-properties/imports/Bar.qbs
index 07ab724e4..cef4cb463 100644
--- a/tests/auto/api/testdata/base-properties/imports/Bar.qbs
+++ b/tests/auto/api/testdata/base-properties/imports/Bar.qbs
@@ -1,5 +1,3 @@
-import qbs 1.0
-
Product {
Depends { name: "cpp" }
cpp.defines: ["FROM_BAR"]
diff --git a/tests/auto/api/testdata/base-properties/imports/Foo.qbs b/tests/auto/api/testdata/base-properties/imports/Foo.qbs
index f177a17c3..1d90a1c10 100644
--- a/tests/auto/api/testdata/base-properties/imports/Foo.qbs
+++ b/tests/auto/api/testdata/base-properties/imports/Foo.qbs
@@ -1,5 +1,3 @@
-import qbs 1.0
-
Bar {
type: "application"
consoleApplication: true
diff --git a/tests/auto/api/testdata/base-properties/prj.qbs b/tests/auto/api/testdata/base-properties/prj.qbs
index a43b930dc..f7035ba0f 100644
--- a/tests/auto/api/testdata/base-properties/prj.qbs
+++ b/tests/auto/api/testdata/base-properties/prj.qbs
@@ -1,4 +1,3 @@
-import qbs 1.0
import "imports/Foo.qbs" as Foo
Project {
diff --git a/tests/auto/api/testdata/build-error-code-location/build-error-code-location.qbs b/tests/auto/api/testdata/build-error-code-location/build-error-code-location.qbs
index f51e91e1f..afa7e1f2a 100644
--- a/tests/auto/api/testdata/build-error-code-location/build-error-code-location.qbs
+++ b/tests/auto/api/testdata/build-error-code-location/build-error-code-location.qbs
@@ -1,5 +1,3 @@
-import qbs
-
Product {
name: "p"
type: ["p.out"]
diff --git a/tests/auto/api/testdata/build-properties-source/build-properties-source.qbs b/tests/auto/api/testdata/build-properties-source/build-properties-source.qbs
index 485bca79d..571feced8 100644
--- a/tests/auto/api/testdata/build-properties-source/build-properties-source.qbs
+++ b/tests/auto/api/testdata/build-properties-source/build-properties-source.qbs
@@ -1,5 +1,3 @@
-import qbs 1.0
-
Project {
Product {
type: "application"
diff --git a/tests/auto/api/testdata/build-single-file/build-single-file.qbs b/tests/auto/api/testdata/build-single-file/build-single-file.qbs
index eeb38a5ff..903a52f9d 100644
--- a/tests/auto/api/testdata/build-single-file/build-single-file.qbs
+++ b/tests/auto/api/testdata/build-single-file/build-single-file.qbs
@@ -1,7 +1,7 @@
-import qbs
import qbs.TextFile
CppApplication {
+ consoleApplication: true
files: ["ignored1.cpp", "ignored2.cpp", "compiled.cpp"]
cpp.includePaths: [buildDirectory]
@@ -10,10 +10,8 @@ CppApplication {
fileTags: ["cpp_pch_src"]
}
- Group {
- fileTagsFilter: ["application"]
- qbs.install: true
- }
+ install: true
+ installDir: ""
Rule {
multiplex: true
diff --git a/tests/auto/api/testdata/buildgraph-info/buildgraph-info.qbs b/tests/auto/api/testdata/buildgraph-info/buildgraph-info.qbs
index 8828f3a19..d1762513e 100644
--- a/tests/auto/api/testdata/buildgraph-info/buildgraph-info.qbs
+++ b/tests/auto/api/testdata/buildgraph-info/buildgraph-info.qbs
@@ -1,5 +1,3 @@
-import qbs
-
Product {
qbs.shellPath: "/bin/bash"
}
diff --git a/tests/auto/api/testdata/buildgraph-locking/buildgraph-locking.qbs b/tests/auto/api/testdata/buildgraph-locking/buildgraph-locking.qbs
index e08b008bc..5e7259ea6 100644
--- a/tests/auto/api/testdata/buildgraph-locking/buildgraph-locking.qbs
+++ b/tests/auto/api/testdata/buildgraph-locking/buildgraph-locking.qbs
@@ -1,4 +1,2 @@
-import qbs
-
Project {
}
diff --git a/tests/auto/api/testdata/change-dependent-lib/change-dependent-lib.qbs b/tests/auto/api/testdata/change-dependent-lib/change-dependent-lib.qbs
index f52c90055..222dc4476 100644
--- a/tests/auto/api/testdata/change-dependent-lib/change-dependent-lib.qbs
+++ b/tests/auto/api/testdata/change-dependent-lib/change-dependent-lib.qbs
@@ -1,5 +1,3 @@
-import qbs 1.0
-
Project {
Application {
name : "HelloWorld"
diff --git a/tests/auto/api/testdata/check-outputs/check-outputs.qbs b/tests/auto/api/testdata/check-outputs/check-outputs.qbs
index 27eada48f..519a95ea8 100644
--- a/tests/auto/api/testdata/check-outputs/check-outputs.qbs
+++ b/tests/auto/api/testdata/check-outputs/check-outputs.qbs
@@ -1,4 +1,3 @@
-import qbs
import qbs.File
Project {
diff --git a/tests/auto/api/testdata/codegen/codegen.qbs b/tests/auto/api/testdata/codegen/codegen.qbs
index fac13f860..d8a217572 100644
--- a/tests/auto/api/testdata/codegen/codegen.qbs
+++ b/tests/auto/api/testdata/codegen/codegen.qbs
@@ -1,4 +1,3 @@
-import qbs 1.0
import qbs.FileInfo
Project {
diff --git a/tests/auto/api/testdata/command-extraction/command-extraction.qbs b/tests/auto/api/testdata/command-extraction/command-extraction.qbs
index 73b66aaa0..253992dd0 100644
--- a/tests/auto/api/testdata/command-extraction/command-extraction.qbs
+++ b/tests/auto/api/testdata/command-extraction/command-extraction.qbs
@@ -1,5 +1,3 @@
-import qbs
-
CppApplication {
files: "main.cpp"
}
diff --git a/tests/auto/api/testdata/disabled-product/disabled-product.qbs b/tests/auto/api/testdata/disabled-product/disabled-product.qbs
index c57615c10..dad8f5d4c 100644
--- a/tests/auto/api/testdata/disabled-product/disabled-product.qbs
+++ b/tests/auto/api/testdata/disabled-product/disabled-product.qbs
@@ -1,5 +1,3 @@
-import qbs
-
CppApplication {
condition: false
files: "main.cpp"
diff --git a/tests/auto/api/testdata/disabled-project/disabled-project.qbs b/tests/auto/api/testdata/disabled-project/disabled-project.qbs
index 1461b70ad..49f35be94 100644
--- a/tests/auto/api/testdata/disabled-project/disabled-project.qbs
+++ b/tests/auto/api/testdata/disabled-project/disabled-project.qbs
@@ -1,4 +1,3 @@
-import qbs
import qbs.File
Project {
diff --git a/tests/auto/api/testdata/disabled_install_group/disabled_install_group.qbs b/tests/auto/api/testdata/disabled_install_group/disabled_install_group.qbs
index b80af6e8a..c300f6390 100644
--- a/tests/auto/api/testdata/disabled_install_group/disabled_install_group.qbs
+++ b/tests/auto/api/testdata/disabled_install_group/disabled_install_group.qbs
@@ -1,5 +1,3 @@
-import qbs
-
CppApplication {
consoleApplication: true
files: "main.cpp"
diff --git a/tests/auto/api/testdata/duplicate-product-names/explicit.qbs b/tests/auto/api/testdata/duplicate-product-names/explicit.qbs
index 0183b411c..b9a97bf53 100644
--- a/tests/auto/api/testdata/duplicate-product-names/explicit.qbs
+++ b/tests/auto/api/testdata/duplicate-product-names/explicit.qbs
@@ -1,5 +1,3 @@
-import qbs
-
Project {
Product { name: "blubb" }
Product { name: "blubb" }
diff --git a/tests/auto/api/testdata/duplicate-product-names/implicit-indirect.qbs b/tests/auto/api/testdata/duplicate-product-names/implicit-indirect.qbs
index 7164aa1c5..bc651c076 100644
--- a/tests/auto/api/testdata/duplicate-product-names/implicit-indirect.qbs
+++ b/tests/auto/api/testdata/duplicate-product-names/implicit-indirect.qbs
@@ -1,5 +1,3 @@
-import qbs
-
Project {
references: ["subdir1/subproject.qbs", "subdir2/subproject.qbs"]
}
diff --git a/tests/auto/api/testdata/duplicate-product-names/implicit.qbs b/tests/auto/api/testdata/duplicate-product-names/implicit.qbs
index f39f80626..409af1ab8 100644
--- a/tests/auto/api/testdata/duplicate-product-names/implicit.qbs
+++ b/tests/auto/api/testdata/duplicate-product-names/implicit.qbs
@@ -1,5 +1,3 @@
-import qbs
-
Project {
Product { }
Product { }
diff --git a/tests/auto/api/testdata/duplicate-product-names/subdir1/subproject.qbs b/tests/auto/api/testdata/duplicate-product-names/subdir1/subproject.qbs
index 6d16a3c53..86718b571 100644
--- a/tests/auto/api/testdata/duplicate-product-names/subdir1/subproject.qbs
+++ b/tests/auto/api/testdata/duplicate-product-names/subdir1/subproject.qbs
@@ -1,3 +1 @@
-import qbs
-
Product { }
diff --git a/tests/auto/api/testdata/duplicate-product-names/subdir2/subproject.qbs b/tests/auto/api/testdata/duplicate-product-names/subdir2/subproject.qbs
index 6d16a3c53..86718b571 100644
--- a/tests/auto/api/testdata/duplicate-product-names/subdir2/subproject.qbs
+++ b/tests/auto/api/testdata/duplicate-product-names/subdir2/subproject.qbs
@@ -1,3 +1 @@
-import qbs
-
Product { }
diff --git a/tests/auto/api/testdata/empty-filetag-list/empty-filetag-list.qbs b/tests/auto/api/testdata/empty-filetag-list/empty-filetag-list.qbs
index 294616124..a13065db0 100644
--- a/tests/auto/api/testdata/empty-filetag-list/empty-filetag-list.qbs
+++ b/tests/auto/api/testdata/empty-filetag-list/empty-filetag-list.qbs
@@ -1,5 +1,3 @@
-import qbs
-
CppApplication {
Group {
files: "dontcompilethis.cpp"
diff --git a/tests/auto/api/testdata/empty-submodules-list/empty-submodules-list.qbs b/tests/auto/api/testdata/empty-submodules-list/empty-submodules-list.qbs
index 88b5e3177..b39b1ebcc 100644
--- a/tests/auto/api/testdata/empty-submodules-list/empty-submodules-list.qbs
+++ b/tests/auto/api/testdata/empty-submodules-list/empty-submodules-list.qbs
@@ -1,5 +1,3 @@
-import qbs
-
CppApplication {
Depends {
name: "dummy"
diff --git a/tests/auto/api/testdata/enable-and-disable-product/enable-and-disable-product.qbs b/tests/auto/api/testdata/enable-and-disable-product/enable-and-disable-product.qbs
index 4afa1e25e..fc90377af 100644
--- a/tests/auto/api/testdata/enable-and-disable-product/enable-and-disable-product.qbs
+++ b/tests/auto/api/testdata/enable-and-disable-product/enable-and-disable-product.qbs
@@ -1,5 +1,3 @@
-import qbs
-
CppApplication {
property string prop: undefined // Influences source artifact properties and the product condition
condition: prop
diff --git a/tests/auto/api/testdata/error-in-setup-run-environment/error-in-setup-run-environment.qbs b/tests/auto/api/testdata/error-in-setup-run-environment/error-in-setup-run-environment.qbs
index f3247f6f8..63a79551b 100644
--- a/tests/auto/api/testdata/error-in-setup-run-environment/error-in-setup-run-environment.qbs
+++ b/tests/auto/api/testdata/error-in-setup-run-environment/error-in-setup-run-environment.qbs
@@ -1,5 +1,3 @@
-import qbs
-
CppApplication {
Depends { name: "mymodule" }
}
diff --git a/tests/auto/api/testdata/error-in-setup-run-environment/modules/mymodule/mymodule.qbs b/tests/auto/api/testdata/error-in-setup-run-environment/modules/mymodule/mymodule.qbs
index e698b45b5..1b136fdb9 100644
--- a/tests/auto/api/testdata/error-in-setup-run-environment/modules/mymodule/mymodule.qbs
+++ b/tests/auto/api/testdata/error-in-setup-run-environment/modules/mymodule/mymodule.qbs
@@ -1,5 +1,3 @@
-import qbs
-
Module {
setupRunEnvironment: {
trallala
diff --git a/tests/auto/api/testdata/excluded-inputs/excluded-inputs.qbs b/tests/auto/api/testdata/excluded-inputs/excluded-inputs.qbs
index faa51d3b9..7633b3ebe 100644
--- a/tests/auto/api/testdata/excluded-inputs/excluded-inputs.qbs
+++ b/tests/auto/api/testdata/excluded-inputs/excluded-inputs.qbs
@@ -1,4 +1,3 @@
-import qbs
import qbs.File
import qbs.TextFile
diff --git a/tests/auto/api/testdata/explicitly-depends-on/explicitly-depends-on.qbs b/tests/auto/api/testdata/explicitly-depends-on/explicitly-depends-on.qbs
index 17aa74697..05886a99e 100644
--- a/tests/auto/api/testdata/explicitly-depends-on/explicitly-depends-on.qbs
+++ b/tests/auto/api/testdata/explicitly-depends-on/explicitly-depends-on.qbs
@@ -1,4 +1,3 @@
-import qbs
import qbs.FileInfo
import qbs.TextFile
diff --git a/tests/auto/api/testdata/export-item-with-group/export-item-with-group.qbs b/tests/auto/api/testdata/export-item-with-group/export-item-with-group.qbs
index 30f1868cb..b2079e95f 100644
--- a/tests/auto/api/testdata/export-item-with-group/export-item-with-group.qbs
+++ b/tests/auto/api/testdata/export-item-with-group/export-item-with-group.qbs
@@ -1,5 +1,3 @@
-import qbs
-
Project {
Product {
name: "dep"
diff --git a/tests/auto/api/testdata/export-simple/export-simple.qbs b/tests/auto/api/testdata/export-simple/export-simple.qbs
index d07bb0d1a..01177049d 100644
--- a/tests/auto/api/testdata/export-simple/export-simple.qbs
+++ b/tests/auto/api/testdata/export-simple/export-simple.qbs
@@ -1,5 +1,3 @@
-import qbs 1.0
-
Project {
Application {
name : "HelloWorld"
diff --git a/tests/auto/api/testdata/export-with-recursive-depends/export-with-recursive-depends.qbs b/tests/auto/api/testdata/export-with-recursive-depends/export-with-recursive-depends.qbs
index d5f5f79e5..937a73e21 100644
--- a/tests/auto/api/testdata/export-with-recursive-depends/export-with-recursive-depends.qbs
+++ b/tests/auto/api/testdata/export-with-recursive-depends/export-with-recursive-depends.qbs
@@ -1,5 +1,3 @@
-import qbs
-
Project {
CppApplication {
name: "app1"
diff --git a/tests/auto/api/testdata/export-with-recursive-depends/modules/module1/module1.qbs b/tests/auto/api/testdata/export-with-recursive-depends/modules/module1/module1.qbs
index c1c4ad358..c7aadde69 100644
--- a/tests/auto/api/testdata/export-with-recursive-depends/modules/module1/module1.qbs
+++ b/tests/auto/api/testdata/export-with-recursive-depends/modules/module1/module1.qbs
@@ -1,5 +1,3 @@
-import qbs
-
Module {
Depends { name: "module2" }
}
diff --git a/tests/auto/api/testdata/export-with-recursive-depends/modules/module2/module2.qbs b/tests/auto/api/testdata/export-with-recursive-depends/modules/module2/module2.qbs
index 75a274631..2b5f6014e 100644
--- a/tests/auto/api/testdata/export-with-recursive-depends/modules/module2/module2.qbs
+++ b/tests/auto/api/testdata/export-with-recursive-depends/modules/module2/module2.qbs
@@ -1,5 +1,3 @@
-import qbs
-
Module {
Depends { name: "cpp" }
cpp.defines: ["HAS_FOO"]
diff --git a/tests/auto/api/testdata/fallback-gcc/fallback-gcc.qbs b/tests/auto/api/testdata/fallback-gcc/fallback-gcc.qbs
index 8b3b63e65..e2fb255ad 100644
--- a/tests/auto/api/testdata/fallback-gcc/fallback-gcc.qbs
+++ b/tests/auto/api/testdata/fallback-gcc/fallback-gcc.qbs
@@ -1,5 +1,3 @@
-import qbs
-
CppApplication {
name: "app"
cpp._skipAllChecks: true
diff --git a/tests/auto/api/testdata/file-tagger/moc_cpp.qbs b/tests/auto/api/testdata/file-tagger/moc_cpp.qbs
index fd07730dc..43fa5f330 100644
--- a/tests/auto/api/testdata/file-tagger/moc_cpp.qbs
+++ b/tests/auto/api/testdata/file-tagger/moc_cpp.qbs
@@ -1,4 +1,3 @@
-import qbs 1.0
import qbs.TextFile
import qbs.FileInfo
diff --git a/tests/auto/api/testdata/filetagsfilter_override/InstalledApp.qbs b/tests/auto/api/testdata/filetagsfilter_override/InstalledApp.qbs
index 633410c3c..21db6b37a 100644
--- a/tests/auto/api/testdata/filetagsfilter_override/InstalledApp.qbs
+++ b/tests/auto/api/testdata/filetagsfilter_override/InstalledApp.qbs
@@ -1,5 +1,3 @@
-import qbs
-
CppApplication {
type: "application"
consoleApplication: true
diff --git a/tests/auto/api/testdata/filetagsfilter_override/filetagsfilter_override.qbs b/tests/auto/api/testdata/filetagsfilter_override/filetagsfilter_override.qbs
index a6cec7d07..6483e8851 100644
--- a/tests/auto/api/testdata/filetagsfilter_override/filetagsfilter_override.qbs
+++ b/tests/auto/api/testdata/filetagsfilter_override/filetagsfilter_override.qbs
@@ -1,4 +1,3 @@
-import qbs
import "InstalledApp.qbs" as InstalledApp
InstalledApp {
diff --git a/tests/auto/api/testdata/generated-files-list/generated-files-list.qbs b/tests/auto/api/testdata/generated-files-list/generated-files-list.qbs
index 30f7bc695..666d72645 100644
--- a/tests/auto/api/testdata/generated-files-list/generated-files-list.qbs
+++ b/tests/auto/api/testdata/generated-files-list/generated-files-list.qbs
@@ -1,5 +1,3 @@
-import qbs
-
CppApplication {
Depends { name: "Qt.widgets" }
consoleApplication: true
diff --git a/tests/auto/api/testdata/infinite-loop-js/infinite-loop.qbs b/tests/auto/api/testdata/infinite-loop-js/infinite-loop.qbs
index 592c602ec..bb616a9e2 100644
--- a/tests/auto/api/testdata/infinite-loop-js/infinite-loop.qbs
+++ b/tests/auto/api/testdata/infinite-loop-js/infinite-loop.qbs
@@ -1,5 +1,3 @@
-import qbs
-
Product {
type: "mytype"
Rule {
diff --git a/tests/auto/api/testdata/infinite-loop-process/infinite-loop.qbs b/tests/auto/api/testdata/infinite-loop-process/infinite-loop.qbs
index 6155baf28..f0de12df1 100644
--- a/tests/auto/api/testdata/infinite-loop-process/infinite-loop.qbs
+++ b/tests/auto/api/testdata/infinite-loop-process/infinite-loop.qbs
@@ -1,5 +1,3 @@
-import qbs
-
Project {
CppApplication {
type: "application"
@@ -14,10 +12,7 @@ Project {
Depends { name: "infinite-loop" }
Rule {
inputsFromDependencies: "application"
- Artifact {
- filePath: "dummy"
- fileTags: "mytype"
- }
+ outputFileTags: "mytype"
prepare: {
var cmd = new Command(inputs["application"][0].filePath);
cmd.description = "Calling application that runs forever";
diff --git a/tests/auto/api/testdata/infinite-loop-resolving/infinite-loop-resolving.qbs b/tests/auto/api/testdata/infinite-loop-resolving/infinite-loop-resolving.qbs
index b690f5041..e9d0db418 100644
--- a/tests/auto/api/testdata/infinite-loop-resolving/infinite-loop-resolving.qbs
+++ b/tests/auto/api/testdata/infinite-loop-resolving/infinite-loop-resolving.qbs
@@ -1,5 +1,3 @@
-import qbs
-
Product {
type: { while (true); return "Haha!"; }
}
diff --git a/tests/auto/api/testdata/inherit-qbs-search-paths/imports/Foo.qbs b/tests/auto/api/testdata/inherit-qbs-search-paths/imports/Foo.qbs
index 9493b04b5..8920c0fc6 100644
--- a/tests/auto/api/testdata/inherit-qbs-search-paths/imports/Foo.qbs
+++ b/tests/auto/api/testdata/inherit-qbs-search-paths/imports/Foo.qbs
@@ -1,5 +1,3 @@
-import qbs 1.0
-
Product {
type: "application"
consoleApplication: true
diff --git a/tests/auto/api/testdata/inherit-qbs-search-paths/prj.qbs b/tests/auto/api/testdata/inherit-qbs-search-paths/prj.qbs
index 0e8162809..d79a1ed70 100644
--- a/tests/auto/api/testdata/inherit-qbs-search-paths/prj.qbs
+++ b/tests/auto/api/testdata/inherit-qbs-search-paths/prj.qbs
@@ -1,4 +1,3 @@
-import qbs 1.0
import "imports/Foo.qbs" as Foo
Project {
diff --git a/tests/auto/api/testdata/inherit-qbs-search-paths/subdir/modules/bli/m.qbs b/tests/auto/api/testdata/inherit-qbs-search-paths/subdir/modules/bli/m.qbs
index b4b93678a..34ac9e8e9 100644
--- a/tests/auto/api/testdata/inherit-qbs-search-paths/subdir/modules/bli/m.qbs
+++ b/tests/auto/api/testdata/inherit-qbs-search-paths/subdir/modules/bli/m.qbs
@@ -1,5 +1,3 @@
-import qbs 1.0
-
Module {
Depends {name : "cpp" }
cpp.defines: ["HAVE_BLI"]
diff --git a/tests/auto/api/testdata/inherit-qbs-search-paths/subdir2/modules/bla/m.qbs b/tests/auto/api/testdata/inherit-qbs-search-paths/subdir2/modules/bla/m.qbs
index 0676d0c4d..de93f18e8 100644
--- a/tests/auto/api/testdata/inherit-qbs-search-paths/subdir2/modules/bla/m.qbs
+++ b/tests/auto/api/testdata/inherit-qbs-search-paths/subdir2/modules/bla/m.qbs
@@ -1,5 +1,3 @@
-import qbs 1.0
-
Module {
Depends {name : "cpp" }
cpp.defines: ["HAVE_BLA"]
diff --git a/tests/auto/api/testdata/installed-artifact/installed-artifact.qbs b/tests/auto/api/testdata/installed-artifact/installed-artifact.qbs
index e2d18b2ea..d3f91662a 100644
--- a/tests/auto/api/testdata/installed-artifact/installed-artifact.qbs
+++ b/tests/auto/api/testdata/installed-artifact/installed-artifact.qbs
@@ -1,5 +1,3 @@
-import qbs 1.0
-
Project {
CppApplication {
@@ -18,11 +16,8 @@ Project {
qbs.installDir: "src"
}
qbs.installPrefix: "/usr"
- Group {
- fileTagsFilter: "application"
- qbs.install: true
- qbs.installDir: "bin"
- }
+ install: true
+ installDir: "bin"
Group {
fileTagsFilter: "obj"
qbs.install: true
diff --git a/tests/auto/api/testdata/is-runnable/is-runnable.qbs b/tests/auto/api/testdata/is-runnable/is-runnable.qbs
index 2883328ed..870279294 100644
--- a/tests/auto/api/testdata/is-runnable/is-runnable.qbs
+++ b/tests/auto/api/testdata/is-runnable/is-runnable.qbs
@@ -1,5 +1,3 @@
-import qbs
-
Project {
CppApplication {
name: "app"
diff --git a/tests/auto/api/testdata/lib-same-source/lib-same-source.qbs b/tests/auto/api/testdata/lib-same-source/lib-same-source.qbs
index dc5785e98..97a614eb8 100644
--- a/tests/auto/api/testdata/lib-same-source/lib-same-source.qbs
+++ b/tests/auto/api/testdata/lib-same-source/lib-same-source.qbs
@@ -1,5 +1,3 @@
-import qbs 1.0
-
Project {
Product {
type: "application"
diff --git a/tests/auto/api/testdata/link-dynamiclibs-staticlibs/link-dynamiclibs-staticlibs.qbs b/tests/auto/api/testdata/link-dynamiclibs-staticlibs/link-dynamiclibs-staticlibs.qbs
index 8fec45700..b2a54080c 100644
--- a/tests/auto/api/testdata/link-dynamiclibs-staticlibs/link-dynamiclibs-staticlibs.qbs
+++ b/tests/auto/api/testdata/link-dynamiclibs-staticlibs/link-dynamiclibs-staticlibs.qbs
@@ -1,5 +1,3 @@
-import qbs 1.0
-
Project {
Application {
name : "HelloWorld"
diff --git a/tests/auto/api/testdata/link-dynamiclibs/link-dynamiclibs.qbs b/tests/auto/api/testdata/link-dynamiclibs/link-dynamiclibs.qbs
index d6047060c..cc86a4402 100644
--- a/tests/auto/api/testdata/link-dynamiclibs/link-dynamiclibs.qbs
+++ b/tests/auto/api/testdata/link-dynamiclibs/link-dynamiclibs.qbs
@@ -1,5 +1,3 @@
-import qbs 1.0
-
Project {
Application {
name : "HelloWorld"
diff --git a/tests/auto/api/testdata/link-static-lib/link-static-lib.qbs b/tests/auto/api/testdata/link-static-lib/link-static-lib.qbs
index 6840a4cc6..6960c7d17 100644
--- a/tests/auto/api/testdata/link-static-lib/link-static-lib.qbs
+++ b/tests/auto/api/testdata/link-static-lib/link-static-lib.qbs
@@ -1,5 +1,3 @@
-import qbs 1.0
-
Project {
Product {
type: "application"
diff --git a/tests/auto/api/testdata/link-staticlib-dynamiclib/link-staticlib-dynamiclib.qbs b/tests/auto/api/testdata/link-staticlib-dynamiclib/link-staticlib-dynamiclib.qbs
index a14cde651..8573b2f60 100644
--- a/tests/auto/api/testdata/link-staticlib-dynamiclib/link-staticlib-dynamiclib.qbs
+++ b/tests/auto/api/testdata/link-staticlib-dynamiclib/link-staticlib-dynamiclib.qbs
@@ -1,5 +1,3 @@
-import qbs 1.0
-
Project {
CppApplication {
Depends { name: "mystaticlib" }
diff --git a/tests/auto/api/testdata/link-staticlibs-dynamiclibs/link-staticlibs-dynamiclibs.qbs b/tests/auto/api/testdata/link-staticlibs-dynamiclibs/link-staticlibs-dynamiclibs.qbs
index eafa764ba..eade97126 100644
--- a/tests/auto/api/testdata/link-staticlibs-dynamiclibs/link-staticlibs-dynamiclibs.qbs
+++ b/tests/auto/api/testdata/link-staticlibs-dynamiclibs/link-staticlibs-dynamiclibs.qbs
@@ -1,5 +1,3 @@
-import qbs 1.0
-
Project {
Application {
name : "HelloWorld"
diff --git a/tests/auto/api/testdata/local-profiles/local-profiles.qbs b/tests/auto/api/testdata/local-profiles/local-profiles.qbs
index 7832cab58..c6091f9f5 100644
--- a/tests/auto/api/testdata/local-profiles/local-profiles.qbs
+++ b/tests/auto/api/testdata/local-profiles/local-profiles.qbs
@@ -1,5 +1,3 @@
-import qbs
-
Project {
property string windowsProfile: "windowsProfile"
property bool enableProfiles
diff --git a/tests/auto/api/testdata/lots-of-dots/lots-of-dots.qbs b/tests/auto/api/testdata/lots-of-dots/lots-of-dots.qbs
index 904cbcf66..096fcaf0c 100644
--- a/tests/auto/api/testdata/lots-of-dots/lots-of-dots.qbs
+++ b/tests/auto/api/testdata/lots-of-dots/lots-of-dots.qbs
@@ -1,5 +1,3 @@
-import qbs 1.0
-
Project {
QtGuiApplication {
type: "application"
diff --git a/tests/auto/api/testdata/missing-source-file/missing-source-file.qbs b/tests/auto/api/testdata/missing-source-file/missing-source-file.qbs
index db666f9fd..bc17bc7dd 100644
--- a/tests/auto/api/testdata/missing-source-file/missing-source-file.qbs
+++ b/tests/auto/api/testdata/missing-source-file/missing-source-file.qbs
@@ -1,5 +1,3 @@
-import qbs
-
Product {
files: [
"file1.txt",
diff --git a/tests/auto/api/testdata/moc-cpp/moc-cpp.qbs b/tests/auto/api/testdata/moc-cpp/moc-cpp.qbs
index f8ee0736b..a6445a399 100644
--- a/tests/auto/api/testdata/moc-cpp/moc-cpp.qbs
+++ b/tests/auto/api/testdata/moc-cpp/moc-cpp.qbs
@@ -1,5 +1,3 @@
-import qbs 1.0
-
Project {
Product {
type: "application"
diff --git a/tests/auto/api/testdata/moc-hpp-included/moc-hpp-included.qbs b/tests/auto/api/testdata/moc-hpp-included/moc-hpp-included.qbs
index b954d09f0..a484b9c22 100644
--- a/tests/auto/api/testdata/moc-hpp-included/moc-hpp-included.qbs
+++ b/tests/auto/api/testdata/moc-hpp-included/moc-hpp-included.qbs
@@ -1,5 +1,3 @@
-import qbs 1.0
-
Project {
Product {
type: "application"
diff --git a/tests/auto/api/testdata/moc-hpp/moc-hpp.qbs b/tests/auto/api/testdata/moc-hpp/moc-hpp.qbs
index f90ee4240..27120aade 100644
--- a/tests/auto/api/testdata/moc-hpp/moc-hpp.qbs
+++ b/tests/auto/api/testdata/moc-hpp/moc-hpp.qbs
@@ -1,5 +1,3 @@
-import qbs 1.0
-
Project {
Product {
type: "application"
diff --git a/tests/auto/api/testdata/multi-arch/multi-arch.qbs b/tests/auto/api/testdata/multi-arch/multi-arch.qbs
index d54809a41..71a66dfc7 100644
--- a/tests/auto/api/testdata/multi-arch/multi-arch.qbs
+++ b/tests/auto/api/testdata/multi-arch/multi-arch.qbs
@@ -1,4 +1,3 @@
-import qbs
import qbs.FileInfo
import qbs.TextFile
@@ -14,6 +13,7 @@ Project {
files: "host+target.input"
fileTags: "input"
}
+ qbs.installPrefix: ""
Group {
fileTagsFilter: "output"
qbs.install: true
@@ -28,6 +28,7 @@ Project {
files: "host-tool.input"
fileTags: "input"
}
+ qbs.installPrefix: ""
Group {
fileTagsFilter: "output"
qbs.install: true
diff --git a/tests/auto/api/testdata/multiplexing/multiplexing.qbs b/tests/auto/api/testdata/multiplexing/multiplexing.qbs
index 3d099eb7a..8011e4250 100644
--- a/tests/auto/api/testdata/multiplexing/multiplexing.qbs
+++ b/tests/auto/api/testdata/multiplexing/multiplexing.qbs
@@ -1,4 +1,3 @@
-import qbs
import qbs.TextFile
Project {
diff --git a/tests/auto/api/testdata/new-output-artifact-in-dependency/new-output-artifact-in-dependency.qbs b/tests/auto/api/testdata/new-output-artifact-in-dependency/new-output-artifact-in-dependency.qbs
index 8b50cce2a..5c3e475b0 100644
--- a/tests/auto/api/testdata/new-output-artifact-in-dependency/new-output-artifact-in-dependency.qbs
+++ b/tests/auto/api/testdata/new-output-artifact-in-dependency/new-output-artifact-in-dependency.qbs
@@ -1,5 +1,3 @@
-import qbs
-
Project {
DynamicLibrary {
//Depends { name: "cpp" }
diff --git a/tests/auto/api/testdata/new-pattern-match/new-pattern-match.qbs b/tests/auto/api/testdata/new-pattern-match/new-pattern-match.qbs
index 18975da75..f4e0856f9 100644
--- a/tests/auto/api/testdata/new-pattern-match/new-pattern-match.qbs
+++ b/tests/auto/api/testdata/new-pattern-match/new-pattern-match.qbs
@@ -1,5 +1,3 @@
-import qbs
-
Product {
files: "*.txt"
}
diff --git a/tests/auto/api/testdata/nonexistingprojectproperties/invalidaccessfromproduct.qbs b/tests/auto/api/testdata/nonexistingprojectproperties/invalidaccessfromproduct.qbs
index c024b3c2c..5f479c1c5 100644
--- a/tests/auto/api/testdata/nonexistingprojectproperties/invalidaccessfromproduct.qbs
+++ b/tests/auto/api/testdata/nonexistingprojectproperties/invalidaccessfromproduct.qbs
@@ -1,3 +1 @@
-import qbs
-
Project { Product { type: project.blubb } }
diff --git a/tests/auto/api/testdata/nonexistingprojectproperties/nonexistingprojectproperties.qbs b/tests/auto/api/testdata/nonexistingprojectproperties/nonexistingprojectproperties.qbs
index 7d453a671..ba86b0ab7 100644
--- a/tests/auto/api/testdata/nonexistingprojectproperties/nonexistingprojectproperties.qbs
+++ b/tests/auto/api/testdata/nonexistingprojectproperties/nonexistingprojectproperties.qbs
@@ -1,3 +1 @@
-import qbs
-
Project { }
diff --git a/tests/auto/api/testdata/objc/objc.qbs b/tests/auto/api/testdata/objc/objc.qbs
index c88d4693c..845eb8d32 100644
--- a/tests/auto/api/testdata/objc/objc.qbs
+++ b/tests/auto/api/testdata/objc/objc.qbs
@@ -1,5 +1,3 @@
-import qbs 1.0
-
Project {
CppApplication {
condition: qbs.targetOS.contains("macos")
diff --git a/tests/auto/api/testdata/precompiled-header-dynamic/precompiled-header-dynamic.qbs b/tests/auto/api/testdata/precompiled-header-dynamic/precompiled-header-dynamic.qbs
index 46de774b9..2fd58d24e 100644
--- a/tests/auto/api/testdata/precompiled-header-dynamic/precompiled-header-dynamic.qbs
+++ b/tests/auto/api/testdata/precompiled-header-dynamic/precompiled-header-dynamic.qbs
@@ -1,4 +1,3 @@
-import qbs
import qbs.File
CppApplication {
diff --git a/tests/auto/api/testdata/precompiled-header-new/precompiled-header-new.qbs b/tests/auto/api/testdata/precompiled-header-new/precompiled-header-new.qbs
index bb82ed248..059400a21 100644
--- a/tests/auto/api/testdata/precompiled-header-new/precompiled-header-new.qbs
+++ b/tests/auto/api/testdata/precompiled-header-new/precompiled-header-new.qbs
@@ -1,5 +1,3 @@
-import qbs 1.0
-
CppApplication {
name: "MyApp"
consoleApplication: true
diff --git a/tests/auto/api/testdata/process-result/process-result.qbs b/tests/auto/api/testdata/process-result/process-result.qbs
index 2aaf0626e..84706ace8 100644
--- a/tests/auto/api/testdata/process-result/process-result.qbs
+++ b/tests/auto/api/testdata/process-result/process-result.qbs
@@ -1,5 +1,3 @@
-import qbs
-
Project {
CppApplication {
name: "app"
@@ -15,11 +13,7 @@ Project {
property int argument
Rule {
inputsFromDependencies: ["application"]
- Artifact {
- filePath: "dummy"
- fileTags: product.type
- alwaysUpdated: false
- }
+ outputFileTags: "mytype"
prepare: {
var cmd = new Command(inputs["application"][0].filePath, [product.argument]);
if (product.redirectStdout)
diff --git a/tests/auto/api/testdata/productNameWithDots/productNameWithDots.qbs b/tests/auto/api/testdata/productNameWithDots/productNameWithDots.qbs
index 5e3427793..972598c42 100644
--- a/tests/auto/api/testdata/productNameWithDots/productNameWithDots.qbs
+++ b/tests/auto/api/testdata/productNameWithDots/productNameWithDots.qbs
@@ -1,4 +1,3 @@
-import qbs
Project {
CppApplication {
name: "myapp"
diff --git a/tests/auto/api/testdata/project-data-after-product-invalidation/project-data-after-product-invalidation.qbs b/tests/auto/api/testdata/project-data-after-product-invalidation/project-data-after-product-invalidation.qbs
index be68cac47..1794205b4 100644
--- a/tests/auto/api/testdata/project-data-after-product-invalidation/project-data-after-product-invalidation.qbs
+++ b/tests/auto/api/testdata/project-data-after-product-invalidation/project-data-after-product-invalidation.qbs
@@ -1,5 +1,3 @@
-import qbs
-
CppApplication {
name: "theProduct"
files: [
diff --git a/tests/auto/api/testdata/project-editing/project-editing.qbs b/tests/auto/api/testdata/project-editing/project-editing.qbs
index 57cb30355..f8c0aef46 100644
--- a/tests/auto/api/testdata/project-editing/project-editing.qbs
+++ b/tests/auto/api/testdata/project-editing/project-editing.qbs
@@ -1,5 +1,3 @@
-import qbs
-
CppApplication {
Group {
name: "Existing Group 1"
diff --git a/tests/auto/api/testdata/project-editing/project-with-no-files.qbs b/tests/auto/api/testdata/project-editing/project-with-no-files.qbs
index 824ae6dcd..b12ac6813 100644
--- a/tests/auto/api/testdata/project-editing/project-with-no-files.qbs
+++ b/tests/auto/api/testdata/project-editing/project-with-no-files.qbs
@@ -1,5 +1,3 @@
-import qbs
-
CppApplication {
Group {
files: "file.cpp"
diff --git a/tests/auto/api/testdata/project-invalidation/project.early-error.qbs b/tests/auto/api/testdata/project-invalidation/project.early-error.qbs
index ecc76c816..701da0eab 100644
--- a/tests/auto/api/testdata/project-invalidation/project.early-error.qbs
+++ b/tests/auto/api/testdata/project-invalidation/project.early-error.qbs
@@ -1,5 +1,3 @@
-import qbs
-
Product {
type: "mytype"
files: "nosuchfile.txt"
diff --git a/tests/auto/api/testdata/project-invalidation/project.late-error.qbs b/tests/auto/api/testdata/project-invalidation/project.late-error.qbs
index 6bce6f2d3..ce033adbd 100644
--- a/tests/auto/api/testdata/project-invalidation/project.late-error.qbs
+++ b/tests/auto/api/testdata/project-invalidation/project.late-error.qbs
@@ -1,5 +1,3 @@
-import qbs
-
Product {
type: "mytype"
diff --git a/tests/auto/api/testdata/project-invalidation/project.no-error.qbs b/tests/auto/api/testdata/project-invalidation/project.no-error.qbs
index 099553ffc..f37cbd64b 100644
--- a/tests/auto/api/testdata/project-invalidation/project.no-error.qbs
+++ b/tests/auto/api/testdata/project-invalidation/project.no-error.qbs
@@ -1,5 +1,3 @@
-import qbs
-
Product {
type: "mytype"
}
diff --git a/tests/auto/api/testdata/project-locking/project-locking.qbs b/tests/auto/api/testdata/project-locking/project-locking.qbs
index e08b008bc..5e7259ea6 100644
--- a/tests/auto/api/testdata/project-locking/project-locking.qbs
+++ b/tests/auto/api/testdata/project-locking/project-locking.qbs
@@ -1,4 +1,2 @@
-import qbs
-
Project {
}
diff --git a/tests/auto/api/testdata/project-properties-by-name/project-properties-by-name.qbs b/tests/auto/api/testdata/project-properties-by-name/project-properties-by-name.qbs
index b90068f87..0bc9d3eab 100644
--- a/tests/auto/api/testdata/project-properties-by-name/project-properties-by-name.qbs
+++ b/tests/auto/api/testdata/project-properties-by-name/project-properties-by-name.qbs
@@ -1,5 +1,3 @@
-import qbs
-
Project {
name: "toplevel"
property stringList theDefines: []
diff --git a/tests/auto/api/testdata/project-with-properties-item/project-with-properties-item.qbs b/tests/auto/api/testdata/project-with-properties-item/project-with-properties-item.qbs
index 91d5de42f..866ec4ecb 100644
--- a/tests/auto/api/testdata/project-with-properties-item/project-with-properties-item.qbs
+++ b/tests/auto/api/testdata/project-with-properties-item/project-with-properties-item.qbs
@@ -1,5 +1,3 @@
-import qbs 1.0
-
Project {
property string binPath: "/usr/bin"
property string libPath: "/usr/lib"
diff --git a/tests/auto/api/testdata/properties-blocks/properties-blocks.qbs b/tests/auto/api/testdata/properties-blocks/properties-blocks.qbs
index 1b4c3680a..dda4652d2 100644
--- a/tests/auto/api/testdata/properties-blocks/properties-blocks.qbs
+++ b/tests/auto/api/testdata/properties-blocks/properties-blocks.qbs
@@ -1,5 +1,3 @@
-import qbs 1.0
-
Product {
Depends { name: 'cpp' }
diff --git a/tests/auto/api/testdata/rc/rc.qbs b/tests/auto/api/testdata/rc/rc.qbs
index 3a5ce9cab..5b49c5de9 100644
--- a/tests/auto/api/testdata/rc/rc.qbs
+++ b/tests/auto/api/testdata/rc/rc.qbs
@@ -1,5 +1,3 @@
-import qbs 1.0
-
Application {
type: "application"
consoleApplication: true
diff --git a/tests/auto/api/testdata/recursive-wildcards/recursive-wildcards.qbs b/tests/auto/api/testdata/recursive-wildcards/recursive-wildcards.qbs
index a1970e1c4..df54577f6 100644
--- a/tests/auto/api/testdata/recursive-wildcards/recursive-wildcards.qbs
+++ b/tests/auto/api/testdata/recursive-wildcards/recursive-wildcards.qbs
@@ -1,4 +1,5 @@
Product {
+ qbs.installPrefix: ""
Group {
files: "dir/**"
qbs.install: true
diff --git a/tests/auto/api/testdata/referenced-file-errors/cycle.qbs b/tests/auto/api/testdata/referenced-file-errors/cycle.qbs
index 72ad2b8b8..ec1a90921 100644
--- a/tests/auto/api/testdata/referenced-file-errors/cycle.qbs
+++ b/tests/auto/api/testdata/referenced-file-errors/cycle.qbs
@@ -1,5 +1,3 @@
-import qbs
-
Project {
property string productName: "p1"
Product { name: project.productName }
diff --git a/tests/auto/api/testdata/referenced-file-errors/modules/brokenmodule/brokenmodule.qbs b/tests/auto/api/testdata/referenced-file-errors/modules/brokenmodule/brokenmodule.qbs
index 861a73931..b52f12ccd 100644
--- a/tests/auto/api/testdata/referenced-file-errors/modules/brokenmodule/brokenmodule.qbs
+++ b/tests/auto/api/testdata/referenced-file-errors/modules/brokenmodule/brokenmodule.qbs
@@ -1,5 +1,3 @@
-import qbs
-
Module {
syntax error
}
diff --git a/tests/auto/api/testdata/referenced-file-errors/okay.qbs b/tests/auto/api/testdata/referenced-file-errors/okay.qbs
index 6ec8b1edd..4f88b3990 100644
--- a/tests/auto/api/testdata/referenced-file-errors/okay.qbs
+++ b/tests/auto/api/testdata/referenced-file-errors/okay.qbs
@@ -1,3 +1 @@
-import qbs
-
Product { name: "p2" }
diff --git a/tests/auto/api/testdata/referenced-file-errors/okay2.qbs b/tests/auto/api/testdata/referenced-file-errors/okay2.qbs
index f3b92dd93..0c5b26750 100644
--- a/tests/auto/api/testdata/referenced-file-errors/okay2.qbs
+++ b/tests/auto/api/testdata/referenced-file-errors/okay2.qbs
@@ -1,3 +1 @@
-import qbs
-
Product { name: "p4" }
diff --git a/tests/auto/api/testdata/referenced-file-errors/referenced-file-errors.qbs b/tests/auto/api/testdata/referenced-file-errors/referenced-file-errors.qbs
index b6b255ab3..eb33f1452 100644
--- a/tests/auto/api/testdata/referenced-file-errors/referenced-file-errors.qbs
+++ b/tests/auto/api/testdata/referenced-file-errors/referenced-file-errors.qbs
@@ -1,5 +1,3 @@
-import qbs
-
Project {
references: [
"ambiguousdir",
diff --git a/tests/auto/api/testdata/referenced-file-errors/wrongtype.qbs b/tests/auto/api/testdata/referenced-file-errors/wrongtype.qbs
index 9322b53b1..cd8c6471d 100644
--- a/tests/auto/api/testdata/referenced-file-errors/wrongtype.qbs
+++ b/tests/auto/api/testdata/referenced-file-errors/wrongtype.qbs
@@ -1,3 +1 @@
-import qbs
-
Module { }
diff --git a/tests/auto/api/testdata/references/invalid1.qbs b/tests/auto/api/testdata/references/invalid1.qbs
index 4bbb26d3a..ec4095d83 100644
--- a/tests/auto/api/testdata/references/invalid1.qbs
+++ b/tests/auto/api/testdata/references/invalid1.qbs
@@ -1,5 +1,3 @@
-import qbs
-
Project {
references: "subdir-with-no-project"
} \ No newline at end of file
diff --git a/tests/auto/api/testdata/references/invalid2.qbs b/tests/auto/api/testdata/references/invalid2.qbs
index 1946e2221..249c80b4f 100644
--- a/tests/auto/api/testdata/references/invalid2.qbs
+++ b/tests/auto/api/testdata/references/invalid2.qbs
@@ -1,5 +1,3 @@
-import qbs
-
Project {
references: "subdir-with-multiple-projects"
} \ No newline at end of file
diff --git a/tests/auto/api/testdata/references/subdir-with-one-project/p.qbs b/tests/auto/api/testdata/references/subdir-with-one-project/p.qbs
index 7d453a671..ba86b0ab7 100644
--- a/tests/auto/api/testdata/references/subdir-with-one-project/p.qbs
+++ b/tests/auto/api/testdata/references/subdir-with-one-project/p.qbs
@@ -1,3 +1 @@
-import qbs
-
Project { }
diff --git a/tests/auto/api/testdata/references/valid.qbs b/tests/auto/api/testdata/references/valid.qbs
index 43d728a4d..97ed7f564 100644
--- a/tests/auto/api/testdata/references/valid.qbs
+++ b/tests/auto/api/testdata/references/valid.qbs
@@ -1,5 +1,3 @@
-import qbs
-
Project {
references: "subdir-with-one-project"
}
diff --git a/tests/auto/api/testdata/relaxed-mode-recovery/relaxed-mode-recovery.qbs b/tests/auto/api/testdata/relaxed-mode-recovery/relaxed-mode-recovery.qbs
index b9e786a4b..7a066b694 100644
--- a/tests/auto/api/testdata/relaxed-mode-recovery/relaxed-mode-recovery.qbs
+++ b/tests/auto/api/testdata/relaxed-mode-recovery/relaxed-mode-recovery.qbs
@@ -1,5 +1,3 @@
-import qbs
-
Project {
Product {
name: "dep"
diff --git a/tests/auto/api/testdata/remove-file-dependency/removeFileDependency.qbs b/tests/auto/api/testdata/remove-file-dependency/removeFileDependency.qbs
index 8ed927761..27bdf96c2 100644
--- a/tests/auto/api/testdata/remove-file-dependency/removeFileDependency.qbs
+++ b/tests/auto/api/testdata/remove-file-dependency/removeFileDependency.qbs
@@ -1,5 +1,3 @@
-import qbs
-
CppApplication {
files: ["main.cpp"]
// Do not reference header files here to force them to be FileDependency objects.
diff --git a/tests/auto/api/testdata/rename-product/rename.qbs b/tests/auto/api/testdata/rename-product/rename.qbs
index 3e5d2da28..9d23bf804 100644
--- a/tests/auto/api/testdata/rename-product/rename.qbs
+++ b/tests/auto/api/testdata/rename-product/rename.qbs
@@ -1,5 +1,3 @@
-import qbs
-
Project {
CppApplication {
Depends { name: "TheLib" }
diff --git a/tests/auto/api/testdata/rename-target-artifact/rename.qbs b/tests/auto/api/testdata/rename-target-artifact/rename.qbs
index c5f267ed6..810b0eb08 100644
--- a/tests/auto/api/testdata/rename-target-artifact/rename.qbs
+++ b/tests/auto/api/testdata/rename-target-artifact/rename.qbs
@@ -1,5 +1,3 @@
-import qbs
-
Project {
CppApplication {
Depends { name: "TheLib" }
diff --git a/tests/auto/api/testdata/restored-warnings/restored-warnings.qbs b/tests/auto/api/testdata/restored-warnings/restored-warnings.qbs
index 2de943eda..bbdfbeadb 100644
--- a/tests/auto/api/testdata/restored-warnings/restored-warnings.qbs
+++ b/tests/auto/api/testdata/restored-warnings/restored-warnings.qbs
@@ -1,4 +1,3 @@
-import qbs
import qbs.Process 1.5
CppApplication {
diff --git a/tests/auto/api/testdata/rule-conflict/rule-conflict.qbs b/tests/auto/api/testdata/rule-conflict/rule-conflict.qbs
index 5b839076e..7bd462f18 100644
--- a/tests/auto/api/testdata/rule-conflict/rule-conflict.qbs
+++ b/tests/auto/api/testdata/rule-conflict/rule-conflict.qbs
@@ -1,5 +1,3 @@
-import qbs
-
CppApplication {
files: "main.cpp"
Group {
diff --git a/tests/auto/api/testdata/run-disabled-product/run-disabled-product.qbs b/tests/auto/api/testdata/run-disabled-product/run-disabled-product.qbs
index 7cdcf7db1..b187084dd 100644
--- a/tests/auto/api/testdata/run-disabled-product/run-disabled-product.qbs
+++ b/tests/auto/api/testdata/run-disabled-product/run-disabled-product.qbs
@@ -1,5 +1,3 @@
-import qbs
-
CppApplication {
name: "app"
condition: false
diff --git a/tests/auto/api/testdata/same-base-name/same-base-name.qbs b/tests/auto/api/testdata/same-base-name/same-base-name.qbs
index c6a7a6fa3..8448d04fd 100644
--- a/tests/auto/api/testdata/same-base-name/same-base-name.qbs
+++ b/tests/auto/api/testdata/same-base-name/same-base-name.qbs
@@ -1,5 +1,3 @@
-import qbs 1.0
-
Project {
CppApplication {
type: "application"
diff --git a/tests/auto/api/testdata/simple-probe/simple-probe.qbs b/tests/auto/api/testdata/simple-probe/simple-probe.qbs
index 34700a99b..8e76acfe3 100644
--- a/tests/auto/api/testdata/simple-probe/simple-probe.qbs
+++ b/tests/auto/api/testdata/simple-probe/simple-probe.qbs
@@ -1,4 +1,3 @@
-import qbs 1.0
import qbs.Probes
CppApplication {
diff --git a/tests/auto/api/testdata/soft-dependency/soft-dependency.qbs b/tests/auto/api/testdata/soft-dependency/soft-dependency.qbs
index bbf37fda8..62713a481 100644
--- a/tests/auto/api/testdata/soft-dependency/soft-dependency.qbs
+++ b/tests/auto/api/testdata/soft-dependency/soft-dependency.qbs
@@ -1,5 +1,3 @@
-import qbs
-
Application {
Depends {
name: "nosuchmodule"
diff --git a/tests/auto/api/testdata/source-file-in-build-dir/source-file-in-build-dir.qbs b/tests/auto/api/testdata/source-file-in-build-dir/source-file-in-build-dir.qbs
index 9fe39cdba..85115fc78 100644
--- a/tests/auto/api/testdata/source-file-in-build-dir/source-file-in-build-dir.qbs
+++ b/tests/auto/api/testdata/source-file-in-build-dir/source-file-in-build-dir.qbs
@@ -1,4 +1,3 @@
-import qbs
import qbs.TextFile
CppApplication {
diff --git a/tests/auto/api/testdata/static-lib-deps/static-lib-deps.qbs b/tests/auto/api/testdata/static-lib-deps/static-lib-deps.qbs
index c925d4d57..b584b4d41 100644
--- a/tests/auto/api/testdata/static-lib-deps/static-lib-deps.qbs
+++ b/tests/auto/api/testdata/static-lib-deps/static-lib-deps.qbs
@@ -1,5 +1,3 @@
-import qbs 1.0
-
Project {
StaticLibrary {
name: "a"
diff --git a/tests/auto/api/testdata/subprojects/resources/modules/QtCoreDepender/qtcoredepender.qbs b/tests/auto/api/testdata/subprojects/resources/modules/QtCoreDepender/qtcoredepender.qbs
index 328abaa99..906193adf 100644
--- a/tests/auto/api/testdata/subprojects/resources/modules/QtCoreDepender/qtcoredepender.qbs
+++ b/tests/auto/api/testdata/subprojects/resources/modules/QtCoreDepender/qtcoredepender.qbs
@@ -1,5 +1,3 @@
-import qbs
-
Module {
Depends { name: "cute.core" }
}
diff --git a/tests/auto/api/testdata/subprojects/resources/modules/cute/core/core.qbs b/tests/auto/api/testdata/subprojects/resources/modules/cute/core/core.qbs
index 6ad30f229..ae9b47211 100644
--- a/tests/auto/api/testdata/subprojects/resources/modules/cute/core/core.qbs
+++ b/tests/auto/api/testdata/subprojects/resources/modules/cute/core/core.qbs
@@ -1,5 +1,3 @@
-import qbs
-
Module {
Depends { name: "cpp" }
cpp.includePaths: [path]
diff --git a/tests/auto/api/testdata/subprojects/subproject2/subproject2.qbs b/tests/auto/api/testdata/subprojects/subproject2/subproject2.qbs
index 3046fe4b2..b0abb38bd 100644
--- a/tests/auto/api/testdata/subprojects/subproject2/subproject2.qbs
+++ b/tests/auto/api/testdata/subprojects/subproject2/subproject2.qbs
@@ -1,5 +1,3 @@
-import qbs
-
Project {
name: "subproject2"
property string libNamePrefix: "test"
diff --git a/tests/auto/api/testdata/subprojects/subproject2/subproject3/subproject3.qbs b/tests/auto/api/testdata/subprojects/subproject2/subproject3/subproject3.qbs
index 58a09e863..f2c637947 100644
--- a/tests/auto/api/testdata/subprojects/subproject2/subproject3/subproject3.qbs
+++ b/tests/auto/api/testdata/subprojects/subproject2/subproject3/subproject3.qbs
@@ -1,4 +1,3 @@
-import qbs
import LibraryType
Project {
diff --git a/tests/auto/api/testdata/subprojects/toplevelproject.qbs b/tests/auto/api/testdata/subprojects/toplevelproject.qbs
index f167ccabc..402e40501 100644
--- a/tests/auto/api/testdata/subprojects/toplevelproject.qbs
+++ b/tests/auto/api/testdata/subprojects/toplevelproject.qbs
@@ -1,5 +1,3 @@
-import qbs
-
Project {
name: "top level project"
references: ["subproject2"]
diff --git a/tests/auto/api/testdata/target-artifact-status/target-artifact-status.qbs b/tests/auto/api/testdata/target-artifact-status/target-artifact-status.qbs
new file mode 100644
index 000000000..2f5776613
--- /dev/null
+++ b/tests/auto/api/testdata/target-artifact-status/target-artifact-status.qbs
@@ -0,0 +1,28 @@
+import qbs.TextFile
+
+Product {
+ name: "p"
+ type: "p_type"
+ property bool enableTagging
+ Rule {
+ multiplex: true
+ Artifact { filePath: "a1"; fileTags: "p_type" }
+ Artifact { filePath: "a2"; fileTags: "x" }
+ prepare: {
+ var cmd = new JavaScriptCommand();
+ cmd.description = "generating outputs";
+ cmd.sourceCode = function() {
+ var f = new TextFile(outputs.p_type[0].filePath, TextFile.WriteOnly);
+ f.close();
+ f = new TextFile(outputs.x[0].filePath, TextFile.WriteOnly);
+ f.close();
+ };
+ return cmd;
+ }
+ }
+ Group {
+ condition: enableTagging
+ fileTagsFilter: "x"
+ fileTags: "p_type"
+ }
+}
diff --git a/tests/auto/api/testdata/tool-in-module/use-outside-project/modules/thetool/thetool.qbs b/tests/auto/api/testdata/tool-in-module/use-outside-project/modules/thetool/thetool.qbs
index 9521f3ae4..d72ebda17 100644
--- a/tests/auto/api/testdata/tool-in-module/use-outside-project/modules/thetool/thetool.qbs
+++ b/tests/auto/api/testdata/tool-in-module/use-outside-project/modules/thetool/thetool.qbs
@@ -1,4 +1,3 @@
-import qbs
import qbs.FileInfo
Module {
diff --git a/tests/auto/api/testdata/tool-in-module/use-outside-project/use-outside-project.qbs b/tests/auto/api/testdata/tool-in-module/use-outside-project/use-outside-project.qbs
index 439e68f51..81db730db 100644
--- a/tests/auto/api/testdata/tool-in-module/use-outside-project/use-outside-project.qbs
+++ b/tests/auto/api/testdata/tool-in-module/use-outside-project/use-outside-project.qbs
@@ -1,5 +1,3 @@
-import qbs
-
Product {
name: "user-outside-project"
type: ["thetool.output"]
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 bd480fb08..575f4020e 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,14 +1,15 @@
-import qbs
-
Project {
CppApplication {
name: "thetool"
+ consoleApplication: true
files: "main.cpp"
+ install: true
+ installDir: ""
+ qbs.installPrefix: ""
Group {
fileTagsFilter: ["application"]
fileTags: ["thetool.thetool"]
- qbs.install: true
}
Export {
diff --git a/tests/auto/api/testdata/transformer-data/transformer-data.qbs b/tests/auto/api/testdata/transformer-data/transformer-data.qbs
index b24deebe5..f9433ed73 100644
--- a/tests/auto/api/testdata/transformer-data/transformer-data.qbs
+++ b/tests/auto/api/testdata/transformer-data/transformer-data.qbs
@@ -1,4 +1,3 @@
-import qbs
import qbs.File
import qbs.TextFile
diff --git a/tests/auto/api/testdata/transformers/transformers.qbs b/tests/auto/api/testdata/transformers/transformers.qbs
index 999395445..bbc5c3c65 100644
--- a/tests/auto/api/testdata/transformers/transformers.qbs
+++ b/tests/auto/api/testdata/transformers/transformers.qbs
@@ -1,4 +1,3 @@
-import qbs 1.0
import qbs.File
import qbs.TextFile
import qbs.Xml
diff --git a/tests/auto/api/testdata/two-default-property-values/modules/mymodule/mymodule.qbs b/tests/auto/api/testdata/two-default-property-values/modules/mymodule/mymodule.qbs
index 52e99e24d..8ac7b75a3 100644
--- a/tests/auto/api/testdata/two-default-property-values/modules/mymodule/mymodule.qbs
+++ b/tests/auto/api/testdata/two-default-property-values/modules/mymodule/mymodule.qbs
@@ -1,4 +1,3 @@
-import qbs
import qbs.TextFile
Module {
diff --git a/tests/auto/api/testdata/two-default-property-values/modules/myothermodule/myothermodule.qbs b/tests/auto/api/testdata/two-default-property-values/modules/myothermodule/myothermodule.qbs
index e0ec699df..12df4434b 100644
--- a/tests/auto/api/testdata/two-default-property-values/modules/myothermodule/myothermodule.qbs
+++ b/tests/auto/api/testdata/two-default-property-values/modules/myothermodule/myothermodule.qbs
@@ -1,5 +1,3 @@
-import qbs
-
Module {
Depends { name: "mymodule" }
}
diff --git a/tests/auto/api/testdata/two-default-property-values/two-default-property-values.qbs b/tests/auto/api/testdata/two-default-property-values/two-default-property-values.qbs
index c0bc720f7..5e3e0f5a7 100644
--- a/tests/auto/api/testdata/two-default-property-values/two-default-property-values.qbs
+++ b/tests/auto/api/testdata/two-default-property-values/two-default-property-values.qbs
@@ -1,5 +1,3 @@
-import qbs
-
Product {
name: "two-default-property-values"
type: "mymodule"
diff --git a/tests/auto/api/testdata/type-change/type-change.qbs b/tests/auto/api/testdata/type-change/type-change.qbs
index 7661aa305..e8154b836 100644
--- a/tests/auto/api/testdata/type-change/type-change.qbs
+++ b/tests/auto/api/testdata/type-change/type-change.qbs
@@ -1,5 +1,3 @@
-import qbs
-
Product {
files: "main.cpp"
Depends { name: "cpp" }
diff --git a/tests/auto/api/testdata/uic/uic.qbs b/tests/auto/api/testdata/uic/uic.qbs
index 301cdad44..50260d73b 100644
--- a/tests/auto/api/testdata/uic/uic.qbs
+++ b/tests/auto/api/testdata/uic/uic.qbs
@@ -1,5 +1,3 @@
-import qbs 1.0
-
Project {
QtGuiApplication {
type: "application"